I use CCS 5.5.0.00077, Widows 8.1. CPU is LM3S9B92. ARM Compiler TI V5.1.1
Problem happen with Emulator Blackhawk BH-USB-100V2-ARM and also with Stellaris In Circuit Debug Interface (comes together with starter kit for LM3S9B96)
When I start a debug session, the system download the code to the CPU. No error message. Everthing seems to work fine. But in reality there is no valid code in the processor. This happen with both emulator. The old code seems not to be deleted and updated with the new code. So depend of change in SW a debug session is possible or not. Debug wirks, if only a constant is changed, so the new code is on the same possition linked, like the old software , which is still programmed in the flash of CPU. But if there is a real new code a debug is not possible, because the debugger is confused, because source code of CCS and the flash code in the CPU is not the same.
I found a work arround. If I do these steps I can debug the code:
- Compile the software with CCS and generate a bin File
- Download the bin File with LM Flash Programmer (works only with Stellaris in circuit emulator)
- Start debug session with CCS. (CCS download with no effect, an start the normal debugger)
- Debug the code with CCS
Where is the problem? 2 years back I used for the same project an older CCS Version (5.1 or 5.3) At this time I had no problem to work with CCS. Now I have the problem with CCS 5.5 without any change of the project 2 years back. The project and the settings are from the working CCS5.1. I changed nothing in the settings.
Hope for help
Franz Boeni