This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have code for TMS470R1B1M with Expansion bus module to interface with Spansion parallel NOR flash. With debugger connected and in RUN, the processor and code runs
without any errors. But, when I disconnect debugger, several processor resets were observed sporadically. These resets were not at any equal interval. The processor
recovers after one reset and runs as normal untill it hits another resets. Time between resets can any where from 15min to 2hours. I observed the following regesters
upon reset and had values shown below.
SYSESR - 0x8000 - ILL Access flag
ABRTESR - 0x0080 - SYS ADDR flag
GLBSTAT - 0x0080 - SYS ADDR flag
Trying to find,
What is the reason for reset?
How to determine the program counter when the reset occurred, or section of the code where the reset occurred?
I am not an expert on the older R1x architecture, but the general behavior you describe suggests a possible watchdog timeout issue in your code. On many of the older generation products the watchdog timer could be suspended when the ARM7's halting debug mode was activated by a connected debugger. While this behavior helps enable easier debug, it can also mask potential watchdog errors.
Regards,
Karl
Prasad,
Do you still need additional information on this topic?
Thanks and regards,
Zhaohong