Hi,
Thanks for your input. The problem was with the printf() function. Just not to reproduce the issue we commented out some of the prints we suspected on and it turned out to be correct. Also we checked that the stack was corrupted for the running task.
Thanks,
Chandan
Search found 7 matches
- Fri Oct 15, 2010 2:36 am
- Forum: NetBurner Software
- Topic: UCOS_ENTER_CRITICAL()
- Replies: 17
- Views: 9951
- Sun Oct 03, 2010 11:58 pm
- Forum: NetBurner Software
- Topic: UCOS_ENTER_CRITICAL()
- Replies: 17
- Views: 9951
Re: UCOS_ENTER_CRITICAL()
Tod,
Thanks for your reply. I think you are right that, the memory has got corrupted before the crash.
Do you know any command to check free space on RAM ?
Thanks for your reply. I think you are right that, the memory has got corrupted before the crash.
Do you know any command to check free space on RAM ?
- Mon Sep 27, 2010 2:26 am
- Forum: NetBurner Software
- Topic: UCOS_ENTER_CRITICAL()
- Replies: 17
- Views: 9951
Re: UCOS_ENTER_CRITICAL()
Did you change the default Ticks per second?
Do you have any user written interrupts that are watching timers?
Some thing in your code overflowing at 2560000 seconds?
The default value of Ticks per second is not altered. #define TICKS_PER_SECOND (20)
I will check and let you know if we have ...
Do you have any user written interrupts that are watching timers?
Some thing in your code overflowing at 2560000 seconds?
The default value of Ticks per second is not altered. #define TICKS_PER_SECOND (20)
I will check and let you know if we have ...
- Mon Sep 27, 2010 2:20 am
- Forum: NetBurner Software
- Topic: UCOS_ENTER_CRITICAL()
- Replies: 17
- Views: 9951
Re: UCOS_ENTER_CRITICAL()
What's the history? Is this a new app and it just hit its first 40 days and crashed. Is it an existing app that just started showing this behavior? If so did you make any changes recently? Are you using printf/sprintf or cout/ostringstream? In my experience, most traps trace back to a memory ...
- Fri Sep 24, 2010 3:14 am
- Forum: NetBurner Software
- Topic: UCOS_ENTER_CRITICAL()
- Replies: 17
- Views: 9951
Re: UCOS_ENTER_CRITICAL()
No there are no user written interrupts.
This issue happens if the hardware is running continuously for around 40 days. Hence to check this out, initialized the TimeTick value to 39 days and after 14 hours the same issue happened.
But initializing the TimeTick to 39 days, 14 Hours did not cause ...
This issue happens if the hardware is running continuously for around 40 days. Hence to check this out, initialized the TimeTick value to 39 days and after 14 hours the same issue happened.
But initializing the TimeTick to 39 days, 14 Hours did not cause ...
- Thu Sep 23, 2010 5:03 am
- Forum: NetBurner Software
- Topic: UCOS_ENTER_CRITICAL()
- Replies: 17
- Views: 9951
Re: UCOS_ENTER_CRITICAL()
The system reboots when UCOS_ENTER_CRITICAL section is called by OSTimeTick() function, which is periodically called by BIOS.
Paul,
As mentioned above, the hardware reboots and according to the Trap information, the last successful instruction executed is UCOS_ENTER_CRITICAL() [OSTimeTick].
Also ...
Paul,
As mentioned above, the hardware reboots and according to the Trap information, the last successful instruction executed is UCOS_ENTER_CRITICAL() [OSTimeTick].
Also ...
- Wed Sep 22, 2010 5:54 am
- Forum: NetBurner Software
- Topic: UCOS_ENTER_CRITICAL()
- Replies: 17
- Views: 9951
UCOS_ENTER_CRITICAL()
Upon trying to execute UCOS_ENTER_CRITICAL() the hardware reboots with the following trap information.
------Trap information-----------------------------
Exception Frame/A7 =021A8AC4
Trap Vector =Access Error (2)
Format =03
Status register SR =2504
Fault Status =0C
Faulted PC =020ED4B4 ...
------Trap information-----------------------------
Exception Frame/A7 =021A8AC4
Trap Vector =Access Error (2)
Format =03
Status register SR =2504
Fault Status =0C
Faulted PC =020ED4B4 ...