Other Parts Discussed in Thread: SEGGER
Hi all, having some trouble with the RM57. During a stress test that forces a lot of flash writes via the TI FEE library the CPU seems to get stuck. Googling didn't help.
Symptoms:
* CPU seems to stop executing code.
* After halting debugger is unable to read CP15.
* Debugger is able to read peripheral registers and memory.
* Debugger is unable to resume code execution.
* Debugger can re-attach. CPU registers are not changing.
* Breakpoints for CPU exceptions (undef, data, prefetch) are not hit.
* CPU recovers after nRESET is asserted.
CPU registers look normal:
* PC points to the first instruction of IRQ handler.
* SP points to the first word of IRQ stack.
* CPSR indicates IRQ mode with further IRQ disabled.
* LR is pointing to somewhere in the guts of TI F021 Flash API library (Utilities.WaitDelay.c).
* ESM is not reporting any errors. nERROR pin is not asserted.
Tools used: Segger JLink, VisualGDB or Segger Ozone.
Any input on how to proceed debugging or understanding the CPU state is appreciated.
Cheers