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.

Problem plotting graph

Hello everyone,

I am using TMS320C6713 DSK with CCSv4. I have written a program and wanted to plot the data in a graph. 

1. When I wanted to change the start address to the required variable, there was an error "Start address cannot be evaluated". Still I carried on to get no real output; all garbage values.

2. When I changed my workspace, I found  no more errors. However, the graph continued to display garbage values. 

Please help!!

Please let me know the detailed procedure to use a graph. Thank you.

Regards,

Pallab

  • Pallab,

    The Start address parameter of the graph tool verifies if the variable/symbol name can be resolved successfully. The error message tells you the tool is not able to find it, therefore the output will forcefully be garbage.

    In practical terms you need to load your code with symbolic debug information (-g) and use a global variable to show its contents properly.

    You can try to use a local variable as well, but in this case the code must be halted at the function that defines it (so the graph can be updated with meaningful information) and you need to be sure the variable itself was not put into the stack or to a register (more common in optimized code). 

    Hope this helps,

    Rafael

  • Thank you it was of great help.