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.

How do I know if the Code is running on the DSP?

 

How do I know if the Code is running on the DSP?

The pdf I am reading says Debug Active Project automatically built and the .out file loaded into the 28x device...but how do I know it is running? what variables can I look for in the CPU time example and how to do this?

Is there a better example to run to be able to see that a program is being executed after debugging?

  • Hello,

    first of all, that is correct, if you select Debug the project will automatically be built and loaded.   You should automatically go to what we call the debug perspective (see the screenshot below) and see a few characteristics

    - you should now see a menu bar at the top that has the run, pause, step over, step into etc you expect when debugging

    - in the top left window, you should see your target (device) listed.  It will also say here "running", "Suspended", etc

    So these should all be indicators as well as the device behaviour of course.

    You can look at variable by going View->Expressions->Add/New .  You can also highlight and right-click a variable ... you will then see add watch and various options.   Just note that depending on your opimization settings, the odd variable may have been optimized out.

    Hopefully this clarifies a bit more for you.

    Best Regards,
    Lisa

  • I do not get this part "You can look at variable by going View->Expressions->Add/New .  You can also highlight and right-click a variable ... you will then see add watch and various options.   Just note that depending on your opimization settings, the odd variable may have been optimized out."

    How do you do that? I will like to use the "Watch" feature but I do not know what variables to watch in the CPUTimer example...

    More help needed.