Example_Projects_Quickstart_Guide
Example_Projects_Quickstart_Guide
Building:
This section describes how to build an imported C2000 example project:
A project can have multiple build configurations. F2807x example projects have the following configurations
CPU1_RAM -> Indicates that the code runs from RAM, this is the default configuration
CPU1_Flash -> Indicates that the code runs from Flash
1. To change the build configuration, select Project Build Configuration Manage. From this window,
select the configuration needed for the current build, or create a new one.
2. Once the build settings are configured, select a project(s) to build by clicking on the project. The project is
recognized as selected if the name is bolded with the word ‘Active’ next to it.
3. To build the project, select Project Build Project. To build all the projects in the workspace, select
Project Build All.
4. Notice the tools running in the console window. After the build is complete, a message will appear indicating the
build status for the selected project.
5. If the build failed, check the “Problems” window for errors. Resolve the errors and repeat the build process.
Verify that the project(s) has built successfully.
6. If no errors exist in the “Problems” window, the project is built and ready to be loaded and run.
Running:
This section describes how to download the code to the target board and run the program:
1. In the “CCS Edit” view, select Run Debug.
2. If loading a program on to a dual-core device for the C28x cores, a “Launching Debug Session” window will open.
Select only CPU1 to load the program on (i.e. uncheck CPU2), and then click Ok.
When loading a program on to the connectivity manager Cortex M4 core, such a window will not open up.
3. Notice the “CCS Debug” icon in the upper right-hand corner indicates that the perspective has changed to the
“CCS Debug” view. After the program is loaded, the console window will indicate that the Memory Map
Initialization is complete. At this point, the program ran through the C-environment initialization routine and
stopped at main().
4. The source file containing main()will open with a blue arrow pointing to the first line of code to be executed.
The program has now been successfully loaded on to the target board and it is ready to run.
5. To execute the program, select Run Resume.