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.

C2000, F28035 Cannot update variables without enabling real time mode!

I am using F28035 device with XDS100 emulator,

I have some variables added to my watch window, however i am unable to see them if i do not enable real time mode! (see attched)

Do i have to enable real time more for all debugging, this was not the case earlier in CCSv3.3 ?

The same error comes when i see anything in the memory window as well, with a popus

"execution state prevented access"

 

  • Manish,

    In v4 you need to halt to refresh any debug display unless running in real-time mode.  In 3.3 it would silently perform a halt to refresh the data.  Many many users were not aware of this and would then wonder why interrupts were not serviced or their app got into a bad state or their motor was no longer functioning.

    If you want to change the behavior you can select "Halt the target before any debugger access" in the debugger options.

     

    John

  • the variable should be global defined.