Texas Instruments UCD3138 Evaluation Module UCD3138OL64EVM-031 UCD3138OL64EVM-031 데이터 시트

제품 코드
UCD3138OL64EVM-031
다운로드
페이지 39
Build and Compile a Project using Code Composer Studio
A.2
Build and Compile a Project using Code Composer Studio
After a project is created with all source codes developed, one can compile the project using CCS. On the
matter how to create a project, please refer to reference 2, Code Composer Studio Development Tools
v3.3 – Getting Started Guide. The example below is to describe typical compile process for UCD3138
firmware. The project file name is Cyclone.pjt in a folder named Training 02. The final result is a file with
extension .x0. As the project name is Cyclone.pjt, the final file name Cyclone.x0 is naturally chosen.
Cyclone.x0 is the final firmware code to be downloaded to the UCD3138 device memory for UCD3138
intended functional operation. Here are the steps for a typical compile process.
1. Copy file folder Training 02 in any desired directory inside your PC.
2. Launch CCS and open the CCS project file Cyclone.pjt from the directory where Training 02 was
saved. The following window appears shown in
3. As project Cyclone.pjt has been created and orientated for UCD3138 functions, CCS can be launched
without connecting an emulator.
4. From CCS project window, Right click on Cyclone.pjt (Debug) and then select Build Options… the
window as shown in
appears when the Linker tab is selected.
5.
shows the project Build Options have been selected to create the file Cyclone.out from
CCS.
6. The next step is to convert file Cyclone.out to Cyclone.x0. “yclone.x0 is the final firmware code to be
downloaded to the UCD3138 device memories. To convert Cyclone.out to Cyclone.x0, the first step
is to click General tab under Build Options for Cyclone.pjt (Debug), as
shown, under the
Build Command, confirm the file to be converted is Cyclone.out, then click ok to close Build
Options
.
7. Steps 4, 5, and 6 are only necessary once per project. If using a TI developed firmware as a platform,
these steps have been set up and no need to repeat.
8. As shown in
select Project M Rebuild All. This generates the file Cyclone.x0 based on
Cyclone.out, and the file of Cyclone.x0 is saved inside the folder where Cyclone.pjt is saved.
Figure 25. Open a Project File Cyclone.pjt (initial open)
28
Summary of Using Code Composer Studio v3.3
SLUUA10 – October 2012
Copyright © 2012, Texas Instruments Incorporated