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.
Hi all,
I am using the CCS 5.5.0.00077 with TMS320F28335 Experimental kit.
1) In the "Variables window" tab I am not able to see the values of local or global variables. After I first installed CCS the "Variables window" did worked and displayed variable values with example projects. But after few weeks, its just blank. I am using one of the example project from ContolSUITE for ADC module, executing from RAM. I didn't change any setting in the IDE other than the stack size to 0x380.
I tried right click on the array and use "Add to Expression", but it doesn't display all the values of the voltage array,
it just displays the last value. I want all the values to be displayed, to later export them.
2) I did read through other post and tried enabling "Silicon Real-time mode" in the debug window but as soon as I hit Run, it shows an error no. 1142, Trouble Reading Register PC. Please find error message attached. But if I disable it my code runs smoothly with no errors. Can you explain what this mode actually does? I do want to later run the program for real-time applications.
Thank you for your help.
Hi Gautam,
I changed the workspace location, but still I can't see the variable or array in the Variable window.
Regards,
Pankaj
Hi,
It'll be in the expression window. Did you check expression window?
Regards,
Gautam
Hi,
The expression and variable window both are blank.
I again tried adding the variable to the expression window and as before it gives only the current value.
Is there a way I can add it to the Variable window, instead of the expression window?
Regards,
Pankaj
Basically, I add all my variables, arrays etc in expression window and they all work fine. I've not tried variable window as expression window solved my purpose.
Regards,
Gautam
Hi Gautam,
I solved my problem on my own, earlier I was adding the entire array i.e "Voltage1[ConversionCount]" to the expression window which displayed as x= Voltage1[ConversionCount] in the expression window, which displayed only the last value.
Now I added just the name i.e "Voltage1" to the expression window and it displays as a folder with an expand option, with all the 100 values.
On a different note:
Is it possible to plot graph with float values.
Can you explain a bit about Silicon Real-time mode ? And when should it be used?
Thank you for your time.
Regards,
Pankaj
Hi,
Is it possible to plot graph with float values.
Yup, its very much possible.
Can you explain a bit about Silicon Real-time mode ? And when should it be used?
Check this out: Demonstration is done using the project files
http://processors.wiki.ti.com/index.php/Real-Time_Mode_Debug_with_CCStudio
Regards,
Gautam
Hi Gautam,
I tried plotting graph of the RMS array, which is float32 in CCS. But I get an error float is 16. Only unsigned type 32/64 bits are supported. Please find attached.
I tried selecting the complete array of 100 and then copy paste in excel, but only top 3 values are pasted in excel. I also tried import option in the expression window but can't get the values. Separate post on http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/298866.aspx
Thank you for the link, I will have a read through real-time mode.
Regards,
Pankaj