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.

CCS 6.1.0 watch window doesn't work

Other Parts Discussed in Thread: TMS320F28035, CONTROLSUITE

I just download CCS 6.1 the free version from ti's website, and I just created a new program, compile is ok, but when I enter the debug perspective and try to watch the variable, I can't add new variable in the " Variable " tab, only i can do in " Expression " , so I add the variable but when I am watching the variable I don't see the value is being written to the memory. 

I am new to CCS 6, I used to use CCS4, and I was told CCS6 allow compiling CLA codes in C...so I make the move, is there something I am missing in the above scenario?

Thanks.

  • Did you select the continuous refresh button in the Expressions window?

  • Yes, I did.
  • I am not sure what is causing the issue. I am using 6.1 and it's working for me.

    Try it using a very simple program.  

    Also, try a different variable in your current program.

  • Also, I noticed the variables window is not working in my CCS installation.

    However, I never use the variable window.
  • that's true, my Variable isn't working neither.

    I just tested that, so it seems that the C28 core debugging is ok...at least I can see the variable is updating...however I still can't see the variables in the ISR are updating. Also I can't get my CLA_0 debug running, it's always at "Suspended", hit Run but no success. I think this is why I can't monitor those in the ISR, because those variables are shared by CLA_0 and C28.

    By the way, my MCU is TMS320F28035.

    Thanks.
  • Did you declare your variable as volatile?

  • Hello,
    The Variables view is for displaying local variables. If you wish to add variables, you need to use the Expression view. hence the behavior you are seeing is expected for that.

    As for why you do not see the variable value update, it is hard to say without a test case. Could you provide one? Or at least some screenshots?

    Thanks
    ki
  • Hi Ki,

    I am basically testing the CCS6.1 and CLA. I am using one of the motor control kit and the codes from CONTROL SUITE--- HVPM_Sensorless_CLA_F2803x

    I didn't just imported the project (because if I do there is error when compiles) so I created a brand new project but linking the same files as the "HVPM_Sensorless_CLA_F2803x" does and same link command files, compile has no error but I can't get the CLA_0 running and also I can't see the variables in the ISR if i look at the watch window.

    Thanks!
  • Wainam Siu said:
    I didn't just imported the project (because if I do there is error when compiles

    What is the error you get? It should just work out of the box.

  • two errors for the following codes:

    void DeviceInit(void)
    {
    WDogDisable(); // Disable the watchdog initially
    DINT; // Global Disable all Interrupts
    IER = 0x0000; // Disable CPU interrupts
    IFR = 0x0000; // Clear all CPU interrupt flags=
    PieCntlInit();
    PieVectTableInit();

    error message is "symbol IER can not be resolved" and "symbol IFR cannot be resolved"

    At the time I was thinking this project might be developed in CCS 5.0 or older version, so I just created a brand new project and errors are gone.
  • I imported it in CCSv6.1 and it built without error. IER and IFR is defined in PeripheralHeaderIncludes.h which should be in one of the include search paths of the project. Did you make sure the project was copied into your workspace?
  • Yes I did.

    Do you think my CCS6.1 is good? Because It's a free version and not licensed.
  • It does not matter which license you are using.

    I imported the project from:
    .\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensorless_CLA_F2803x

    Is this the same project your imported?
  • Yes, that's the one.

    Should I re-install CCS6.1 again? I don't know if McAfee was completed disable when I installed CCS6.1...I remember seeing an warning during installation.
  • No, I really doubt that is an issue. Can you import any other examples in the HVMotorCtrl+PfcKit_v2.1 directory and get it to build?
  • ok, I just tried project " HVACI_Sensolrless_CLA_F2803x" , and it compiles good no error.

    I will go ahead double check the problem with the "HVPM_Sensorless_CLA_F2803x"

    So now I need to find out why the watch window doesn't update  the values for the variables and also the CLA_0 can not be start for debugging.

    Thanks!