I have just switched to CCS 5.4 and updated to the latest SD drivers and ARM compilers. I have been regression testing the dev chain to see if I lost anything in the upgrade. I am using the EKS to simulate my target HW that is in development itself.
This morning I was able to emulate on the EKS. At some time the emulation stopped breaking at main(). I reverted to the project state as of the time it was working, recycled power to emulator and target, restarted CCS. I am bouncing from "cannot connect to emulator" to the program beginning to run without breaking at main() and since there is no CAN output, I suspect it is starting somewhere else other than main().
This configuration has been stable for months using CCS5.3. I move the emulator to another device and it emulates just fine. Move back to the EKS and power cycle emulator, restart debug several times before getting to the "running but not from main()" issue.
When I pause and restart app I get:
Can't find a source file at "/tmp/TI_MKLIBiLt7no/SRC/boot.asm"
Locate the file or edit the source lookup path to include its location.
or
When I reset the processor via CCS's reset button I get:
CORTEX_M4_0: Can't Run Target CPU: (Error -1268 @ 0x1090001) Device is locked up in Hard Fault or in NMI.
Reset the device, and retry the operation.
If error persists, confirm configuration, power-cycle the board,
and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.73.0)
I have tried 'TCLK looped-back with user...' set to 6MHz and 3MHz. Neither of these settings worked.
It worked several times this morning as expected.
Any ideas.