Part Number: AM5728
GNU compiler -03 optimization around BIOS Timer ISR stalls the processor after hours of running
Hi,
We've been chasing an elusive issue on customer's system and after many iterations isolated it to a simple project running on IDK under JTAG where changing optimization from -o3 to -o2 on a single file makes the problem go away.
The problem manifests itself upon attempting to pause execution and the message in CCS console is
CortexA15_0: Trouble Halting Target CPU: (Error -1323 @ 0x80005738) Device failed to enter debug/halt mode because pipeline is stalled. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.0.27.9)
It may take up to 36 hours for the problem to occur. I have the CCS project which can be used to reproduce the issue but would refrain from sharing it on the public forum.
I'll appreciate your guidance here
Thanks,
Michael