Lab 2 – CCSv5 Projects
2 - 42 MSP430 Workshop - Programming C with CCS
Build, Load, Connect and Run … with the Easy Button
23. Rebuild and Reload your program – the one-step method.
Here’s the “easy button” (i.e. one button) method for debugging your code. First, make sure
you terminated your previous debug session and you are in the Edit perspective.
Click the BUG toolbar button:
Clicking this button will: Build the program (if needed); Launch the debugger; Connect to
Target; and Load your program
24. Once the program has successfully loaded, ► run it.
25. Close the lab_02a_ccs project.
Closing a project is both handy and prevents errors.
Rt-click project Close Project
If your source file (hello.c) was open, notice how closing the project also closes most source
files. This can help prevent errors.
(Wait until you’ve spent an hour editing a file – with it not working
– only to find you were editing a file with the same name, but from a different project. Doh!)
You can quickly reopen the project, when and if you need to.