Hi,
I think there exists a problem with certain SPLOOP code, which causes a 'Loop buffer exception' and 'Missed stall exception' when CCS tries to access the target. I already noticed this problem in the past with different optimized loops. I could avoid the problem by disabling SPLOOP for the affected files. But now I'm using a IMGLIB function causing the same problem.
I'm not sure if this is the right forum. It could be a device isssue, a CCS / Emulation problem or a compiler bug.
Here is a small test program which I tested on the TMDXEVM6678L EVM:
ExceptionTest.zip
I used the following components to reproduce the problem:
- CCS 5.5
- XDCtools 3.25.3.72
- SYS/BIOS 6.35.4.50
- IMGLIB C66xx 3.1.1.0
- Emulator XDS560v2 LC Traveler or XDS200
After the program is started, the exception can be triggered by accessing the target while it's running. For example by showing registers in the Register window or by entering an address in the memory window.
Thanks,
Ralf