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.
Good morning,
we bought a Olimex XDS100 v3 emulator to program and debug our board with Stellaris LM3S9B92, but during debug session (run mode), when we add a global variable to Expression list we always have this "Error: exexution state prevented access." It is not possible to access all registers also. The problem above is not present if we pause the debug execution.
Could you help us please?
waiting for your kindly reply.
Best regards
Hi,
I would like you to check this link out:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/3261.aspx
Regards,
Gautam
Hi,
thanks Gautam for your prompt reply, but I had alredy see that thread that doesn't help me.
Could someone suggest somenthing else?
Thanks.
Regards
Gianni
Gianni, just one suggestion: try updating your CCS v5.3 to CCS v5.5 through "Help -> Check for updates"
Regards,
Gautam
Thanks for your answer,
I could try to upgrade to ccs5.5 but I'm a little bit afraid because of I could have some other big problems with new updates. Sometimes I expirienced some issues after migrating the project to a newer version.
What do you think about it?
Thanks
Regards
Gianni
CCS v5.5 is the most stable version in v5 series. Hence I suggested you to do so.
Hi,
I tried to upgrade to new version but as you can see in the picture below I can not fin an upgrade of CCS 5.5 in the list:
Any suggestion?
Anyway I found a setting in Debug Configuration-> Target-> Auto Run and launch Options. Under Realtime Options I set "Halt the target before any debugger access (will impact servicing of interrupts)". With this setting I saw expression that upgrade in real time but of course i had problem in the interrupts management.
Any suggestion?
thanks
Regards
Gianni
I tried to upgrade to new version but as you can see in the picture below I can not fin an upgrade of CCS 5.5 in the list:
There's no attachment. BTW to be on the safer side you can download the offline installer for CCS v5.5 or v6.0 and install it in a new directory say c:/tinew. Let the previous one be as it is!
Regards,
Gautam
I didn't think that the Stellaris devices supported real-time mode - as they doesn't appear on the list of supported devices in http://processors.wiki.ti.com/index.php/Real-Time_ModeGianni Perugini said:we bought a Olimex XDS100 v3 emulator to program and debug our board with Stellaris LM3S9B92, but during debug session (run mode), when we add a global variable to Expression list we always have this "Error: exexution state prevented access." It is not possible to access all registers also. The problem above is not present if we pause the debug execution.
Stellaris does not support full Real-time Mode as supported by C2000. But it does support real-time memory accesses via the DAP. See the below module for more information:
http://processors.wiki.ti.com/index.php/CCS_Modules_Library#Real-time_Debug
Thanks
ki
Hi Gautam,
we followed your suggestion and now is possible to access to global variable with xds100 v3. Anyway I said before we need to install compiler version 5.0.1 instead of 5.1.1 because of we have got strange behaviours.
Thanks anybody who answer to this thread.
Best Regards
Good to hear.
To clarify, the 5.3->5.5 update helped because starting with 5.4, CCS was enhanced to auto-use the DAP for all memory accesses, thus allowing you to view memory while the target is running.
Thanks
ki
Hi Ki,
many thanks for this clarification.
I wanted to pointed out that migrating to the new compiler version 5.1.1 has a better result than I expected even if i noticed a bigger memory occupation.
Also, I noticed that all global variables that were declared as "static" were not listed on .map file on compiler version 5.0.1, while in the 5.1.1 compiler there are a more detailed information about the memory allocation.
Thanks
Regards