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.

Help in starting Debug Session for msp430-gcc

Other Parts Discussed in Thread: CC430F5137

Hi

***May be I ma not clear in the subject because I dont know what should I write.***


I have been compiling a project for my cc430F5137. For this I am using cmake and I need to cross compile it suing msp430-gcc..

After generating relevant make files, I go in the directory and

sudo make

This successfully produces executable of the application.

Now the problem is that I dont know how to debug on my cc430?F5137. I have MSP-430-USB-Debug-Interface and Also Code Composer Studio installed on ubuntu.
Because its my first time using cmake, and make, I dont know the procedures. however in the past I have been using CCS to debug other applications.


Can anyone please point out which steps to follow? There is somethig as GDB server bu I dont know what it is? Please anyone?

  • This compiler forum is not the best choice for questions about debugging.  However, I think I can shed some light here.

    I'm pretty sure there is a way to debug with GDB, but I don't know the details.  I notice that ...

    Mohammad Hassan Shahid said:
    in the past I have been using CCS to debug other applications.

    Then you should be pleased to know you can also debug with CCS.  Please see this wiki article for the details on how to debug a executable built outside of CCS.

    Thanks and regards,

    -George