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.

Debugging CCS5 makefile project using C55xx simulator

Hi, I'm trying to debug (and emulate if possible) a CCS5 project based on a makefile (from a CCS2 project). At this point  have managed to build it properly, but now I can't debug it , when I try, it says that my project 'is not device specific'.

I have selected a 'C55xx Rev3.0 CPU' device in 'Texas Instruments simulator' as Target Configuration.

 

Can anybody help me? Thank you very much.

Gonzalo

 

  • Gonzalo,

    Try launching the debugger directly instead of via the project.  Go to View -> Target Configurations.  This will show all the target configuration files you have (.ccxml).  You can browse the ones that are in projects or in the shared folder.  Select the one you want and right click on it.  Select "Launch Debug Configuration".  Once the debugger launches try to load your program.  I could also try reproducing here if you can attach the .out.

    John

  • I followed your instructions and it worked pretty well, but when I load the .out it produces an error with the next message: Can't find a source file at "main.c".

    I believe this can have something to do with this .out being from a CCSv2 instead of CCSv5. Is it possible that a .out file is treated differently if it comes from CCSv2, or is this error caused by another problem?

    Thanks for your answer,

    Gonzalo

  • Problem solved! the file containing main() was not in the same location than the .out built

     

    Thanks for everything,

     

    Gonzalo