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.

CCS4 watch window doesn't work?

Hi

I'm a new user of CCS4. I'm trying to follow the demo code: FBPS.pjt (provided in sprc711.zip). This demo program and user guide are based on CCS3 which may cause some difference in CCS4. Could anyone help me a little on below points? Thanks a lot in advance.

 

1. CCS4 watch window doesn't work

when I'm running the code, the watch window throws some error messages as below:

he message shows: couldn't read memory at 0x0000AAC0@data Execution state prevented access.

Why it has such errors? Did I use a wrong setup somewhere?

 

2. In the PBPS user guide, it mentions DEBUG-Real-time Mode many times. But it seems I didn't find that in CCS4. In CCS4, after rebuiling the project, I click "launch TI debugger", then I "load program", then I click "Run".  Is this the corresponding real-time mode in CCS4?

 

Thank you very much,

Violet

  • Hi Violet,

    violet han said:
    when I'm running the code, the watch window throws some error messages as below:

    When the target is running, CCS is unable to access memory to read the variables. If you want to have CCS autohalt when you wish to refresh the values of the variables, you will need to enable the below option

    violet han said:
    2. In the PBPS user guide, it mentions DEBUG-Real-time Mode many times. But it seems I didn't find that in CCS4. In CCS4, after rebuiling the project, I click "launch TI debugger", then I "load program", then I click "Run".  Is this the corresponding real-time mode in CCS4?

    There is some information on this here:

    http://processors.wiki.ti.com/index.php/Real-Time_Mode

    But you should update your CCS version first. I see that the real-time mode icons are on your toolbar. That tells be your CCSv4 version is old. The latest version is CCSv4.2.4 and I recommend you update to that first.

    Thanks

    ki