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?