Build/Compile a Project Using Code Composer Studio v5.5
A.2
Build/Compile a Project Using Code Composer Studio v5.5
For the UCD3138 family of devices, compiling a project produces an
Intel-hex (.x0)
firmware file that can
be downloaded to, and run on the UCD3138 or related target device using the
UCD3XXX / UCD9XXX
Device GUI
(part of the Fusion Design Online software from TI).
After editing the project files, Right-Click on the project in the Project explorer, and choose
Build Project
.
NOTE:
If this is the first time building a UCD3138 or related project, and Cygwin is also installed on
the PC that is performing the compilation, the instructions in Section 3.3 of the Application
Note
Converting UCD3138 Firmware Project from Code Composer Studio Version 3.3 to 5.2
) must be followed. Mainly, the C:\CYGWIN or other similarly named directory
must be renamed
temporarily
during this first build. This allows the new ARM library to be
built properly. After this first build, the CYGWIN directory can be rolled back to its original
name, and future builds can compile successfully.
Builds may take up to a minute or longer to compile for a first time build.
shows the state of a
successful build:
Figure 17. Successful Build of UCD3138-Related Source Code
When the build has finished, the
.x0
file is created and is placed in the project directory’s debug folder.
The filename that prefaces the
.x0
is the name of the project that was built (that is, a project named
Training_CCS5v5
creates
Training_CCS5v5.x0
as its firmware file). However, it must be noted that the
project name must have no spaces
, otherwise the
.x0
file is not generated.
This
.x0
file can be run on the UCD3138 target device using the
UCD3XXX / UCD9XXX Device GUI
.
20
Summary of Using Code Composer Studio v5.5
SLUUB53 – July 2014
Copyright © 2014, Texas Instruments Incorporated