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.

CCS Debugger does not work with "MSP430 LaunchPad (MSP-EXP430G2)"

Hi,

Yesterday I bought the  "MSP430 Launch Pad" . Then, I downloaded CCS v4 (free version with limited code size) and wrote my first program to read the key press and toggle a LED.

I then used CCS in debug mode to load the program onto the MSP430G2231 provided with Launch Pad which was successful  and the program worked !

But, I noticed that when the CCS was in debug mode, only the "terminate" button was active and none of other debugging features were enabled. 

What is going wrong here, any clues guys ???

PS: I have the licence for CCS validated.

--

Regards,

Mukesh Lahori

  • I am helplessly  stuck without the debug feature of CCS  :-(

    --

    Regards,

    Mukesh Lahori

  • Hmm maybe asking for help in the code composer forum will bring you more answers.

    But one thing I could think of is that you accidentally used the free run instead of a normal run but normally you start in the debug view in the first line of your main() and then you can single step. Can you post a screenshot? Maybe we can see something from there.

  • HI Bernhard,

    I connected LaunchPad, launched CCS, added  a breakpoint at line #11 and pressed the "Debug" button in CCS which compiled the active project and loaded onto the MSP430

    Below is the attached screen shot where you can see that none of the debug controls are active. Don't know what is really wrong here.

    --

    Regards,

    Mukesh Lahori

    .

     

     

  • Oh well that's rather strange indeed, seems like somehow the Debug perspective was altered.

    Now you can try to Reset the Debug perspective to its default values. To do so go to the Window menu and click on "Reset perspective".

    If that didn't help, try to add the needed views for debugging manually. So again in the Window menu go to the "Show  View" submenu, there you can select the views you need for debugging. That is: Debug (obviously), Disassembly might be useful as well, Local, Memory, Registers and Watch are the others I commonly use if I want to know what's going on.

  • Thanks a lot Bernhard ,

    Clicking the "Reset perspective" did the trick! - It seems I need some hand's on with CCS to know it's (hidden) magic buttons ;-)

    --

    Regards,

    Mukesh Lahori

     

**Attention** This is a public forum