You are on page 1of 4

CC STUDIO PRODCEDURE

1. Select Setup CCStudio v3 icon on the desktop and double click on it . In the Import configuration
popup window select C67XX CPU cycle Accurate Simulator, Little Endian then click import and click
save & quit button. In the popup window click yes to start CC Studio.
2. The Code Composer Studio Editor is opened.
3. Go to Project and select New. ->
A Project creation window in opened. Type project_name and store it in My Projects folder.
(CCStudio\my project\project_name.pjt)
4. Select Project and click Add files to Project .
In the popup window go to the path C:\CCStudio\C6000\cgtools\lib\rts6700.lib and select
rts6700.lib file.
< select file type : Object and Library Files >
5. Again Select Project and click Add files to Project . In the popup window go to the path
C:\CCStudio_v3.1\C6000\cgtools\lib\lnk.cmd and select Ink.cmd file.
< Select file type : Linker Command File >
6. Go to File > New > Source File . An untitled editor is opened.
Save as file_name.c file. < Select file type : C\C++ Source files>
7. Type the program on the editor window file_name.c
< use C\C++ language >
8. Add this file to your project
< Select file type : C source Files >

9. To compile the program Go to Project -> Compile file -> or press ctrl F1
10. To build the program Go to Project -> build + or press F7 key
11. lf there are any errors or warnings they will be display now.
12. To execute the program Go to File > Load Program
A load program window was opened
Select C:\CCStudio_v3.1\Myprojects\ debug\file_name.out file.
Now the C compiler produces an Assembly Language Source code
13. Select Debug > go main
14. To run the program Select Debug > Run
15. The program executes and the results are displayed.
To plot the graph
Select View Graph Time\Frequency

In the popup window

Modify the fields as given below
Display Type Single Time
Graph Title Graphical Display
Start Address Variable name defined in the program for which u
wanted to view graph
Acquisition Buffer Size Number of values in that variable
Index Increment 1
Display Data Size Number of values in that variable(same as
acquisition buffer size)
DSP Data Type 32 bit signed/32 IEEE Floating point
Q-value 0
Sampling Rate [H Z] 1
Plot Data From Left to Flight

Left-shifted Data Display Yes
Autoscale Yes
DC Value 0
Axes Display ON
Time Display Unit S
Status Bar Display ON
Magnitude Display Scale Linear
Data Plot Style Line\Bar
Grid Style Zero Line
Cursor Mode Data Cursor

Set all these columns as defined above and then click ok .

By:
Nagaram Suresh Kumar
(nagaramsuresh@gmail.com)

You might also like