Lab 2 – CCSv5 Projects
2 - 40 MSP430 Workshop - Programming C with CCS
16. Run the code.
Now, it’s finally time to RUN or “Play”. ► Hit the Resume button:
The button is called ‘Resume’, though we may end up calling it
‘Play’ since that’s what the icon looks like.
17. Pause the code.
To stop your program running, ► click Halt (Pause):
Warning: Pause is different than Terminate !!!
If you click the Terminate button, the debugger – and your connection to the target – will be
closed. If you’re debugging and just want to view a variable or memory, you will have to open
a new debug session all over again. Remember to pause and think, before you halting your
program.
18. Did printf work?
Did “Hello World!” show up in your console window?
Nope, it didn’t show up for us.
19. Let’s Terminate the debug session and go fix our project.
OK, this time we really want to terminate our debug session.
Click the red Terminate button:
This closes the debug session (and Debug Perspective). CCS will switch back to the Edit
perspective. You are now completely disconnected from the target.
20. Also, if the Target Configurations window is still open, please close it.