mod5234 failure debugging
Posted: Mon Jun 09, 2008 1:28 am
Hallo,
I wrote an application to resend ethernet packet to the serial ports. Now the applicaton from time to time restarts and I don't know why. Is there any instrument or documentation wich describes how to interpret Trap informations?
this is what it wrote to the serial port before the reset in "release" mode although that TrapEnable function is use only in debug mode. If the application runs in debug mode, the debugger stops in Idle process and it is not possible to run the application and I have to load the FactoryDemo through serial port.
Does anybody know, where can be the problem? Is there a limit of count of tasks? the faulted PC address is not possible to decode using WinAddr2Line. If somebody knows how to continue to solve the problem, please let me know.
Thank You,
Jan Mrazek
-------------------Trap information-----------------------------
Exception Frame/A7 =0205A254
Trap Vector =Access Error (2)
Format =01
Status register SR =2004
Fault Status =04
Faulted PC =B60E0000
-------------------Register information-------------------------
A0=B60E0000 A1=020C107E A2=020C1010 A3=02015DD6
A4=00000000 A5=020C1070 A6=0205A27C A7=0205A254
D0=00000044 D1=00000001 D2=00000044 D3=0205A274
D4=0000006F D5=0200FBE4 D6=02012C5E D7=0201DA3C
SR=2004 PC=B60E0000
-------------------RTOS information-----------------------------
The OSTCBCur current task control block = 020D5130
This looks like a valid TCB
The current running task is: IP ,#27
-------------------Task information-----------------------------
Task | State |Wait| Call Stack
Idle,#3F|Ready | |0200E428,0200DF6C,0
Main,#32|Timer |000F|0200E726,02000932,0200DF6C,0
TCP ,#28|Semaphore |0000|0200EDFE,0201A670,0200DF6C,0
IP ,#27|Running | |B60E0000,0
Esnd,#26|Fifo |0022|0200FD16,02020BF4,0200DF6C,0
User,#1E|Semaphore |0000|0200EDFE,02000618,0200DF6C,0
User,#2F|Fifo |0000|0200FD16,02016E34,02005B68,0200DF6C,0
User,#30|Fifo |0000|0200FD16,02016E34,02005194,0200DF6C,0
User,#23|Semaphore |0000|0200EDFE,02000A4E,0200DF6C,0
User,#20|Semaphore |0000|0200EDFE,0201D7E6,02009004,020091C2,02004696,
User,#21|Semaphore |0000|0200EDFE,0201D7E6,02009004,020091C2,02003154,
HTTP,#2D|Semaphore |0000|0200EDFE,02019B82,0201B80C,0200DF6C,0
-------------------End of Trap Diagnostics----------------------
I wrote an application to resend ethernet packet to the serial ports. Now the applicaton from time to time restarts and I don't know why. Is there any instrument or documentation wich describes how to interpret Trap informations?
this is what it wrote to the serial port before the reset in "release" mode although that TrapEnable function is use only in debug mode. If the application runs in debug mode, the debugger stops in Idle process and it is not possible to run the application and I have to load the FactoryDemo through serial port.
Does anybody know, where can be the problem? Is there a limit of count of tasks? the faulted PC address is not possible to decode using WinAddr2Line. If somebody knows how to continue to solve the problem, please let me know.
Thank You,
Jan Mrazek
-------------------Trap information-----------------------------
Exception Frame/A7 =0205A254
Trap Vector =Access Error (2)
Format =01
Status register SR =2004
Fault Status =04
Faulted PC =B60E0000
-------------------Register information-------------------------
A0=B60E0000 A1=020C107E A2=020C1010 A3=02015DD6
A4=00000000 A5=020C1070 A6=0205A27C A7=0205A254
D0=00000044 D1=00000001 D2=00000044 D3=0205A274
D4=0000006F D5=0200FBE4 D6=02012C5E D7=0201DA3C
SR=2004 PC=B60E0000
-------------------RTOS information-----------------------------
The OSTCBCur current task control block = 020D5130
This looks like a valid TCB
The current running task is: IP ,#27
-------------------Task information-----------------------------
Task | State |Wait| Call Stack
Idle,#3F|Ready | |0200E428,0200DF6C,0
Main,#32|Timer |000F|0200E726,02000932,0200DF6C,0
TCP ,#28|Semaphore |0000|0200EDFE,0201A670,0200DF6C,0
IP ,#27|Running | |B60E0000,0
Esnd,#26|Fifo |0022|0200FD16,02020BF4,0200DF6C,0
User,#1E|Semaphore |0000|0200EDFE,02000618,0200DF6C,0
User,#2F|Fifo |0000|0200FD16,02016E34,02005B68,0200DF6C,0
User,#30|Fifo |0000|0200FD16,02016E34,02005194,0200DF6C,0
User,#23|Semaphore |0000|0200EDFE,02000A4E,0200DF6C,0
User,#20|Semaphore |0000|0200EDFE,0201D7E6,02009004,020091C2,02004696,
User,#21|Semaphore |0000|0200EDFE,0201D7E6,02009004,020091C2,02003154,
HTTP,#2D|Semaphore |0000|0200EDFE,02019B82,0201B80C,0200DF6C,0
-------------------End of Trap Diagnostics----------------------