This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi guys,
Currently I'm using CCS 4.2.4.00033. My hardware debugger is XDS100v2. My MCU is LM3S9B92.
With the above components, I can program and debug the MCU. In debugging mode, I can watch the value of resisters and global variables, however I cannot watch local variables value. Moreover, when I perform single step debug, the program counter just ignores every command line related to local variables, and jumps directly to the nearest command line working with resisters or global variables.
I tried CCS 5 too but the result was the same.
Is this because CCS does not fully support Stellaris MCUs? or I have missed some settings in the debug configuration menu?
Thanks for reading my questions. Any answer would be very appreciated.
Hi,
Is your code optmized? The optimization may be affecting the ability to see variables and step in your code.
The following threads give you some further ideas about this:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/61424/220343.aspx#220343
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/83449/288670.aspx#288670
Hope this helps,
Rafael
Hi Rafael,
Disabling optimization solved my problem.
Thank you for your answer :)
regards,
Itachi