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.

Watch function doesn't work in CCS for demo codes?



Hi

I'm a new user of CCS4 and EVM KIT: TMDSACDCKIT(C2000 AC/DC Developer's Kit). I was following the FBPS guide to run demo program provided. I used "BUILD 2" option(open loop FBPS).  I have some problem as below:

In CCS4, when I add the variables in watch window, it seems I couldn\t observe the values in real-time mode. When DSC is running, what I see is:

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

The watch window can show value only after I halt the DSC. pls see below:

Can anyone help me on this?

 

By the way, as a digital power, I assume there should be somewhere where I can set the output voltage in code. After change that command, the new code will running with setting the output as a new voltage level as required. Could anyone tell me where to find this command? Is it the GUI_FB_SET? Shall I change it directly in the main.c  like:

int16 Gui_VfbSet = 0;      // Q10

how many variables are used for this kind of setting?

 

Thanks a lot,

Violet