0% found this document useful (0 votes)
37 views

Texas Instruments Code Composer Studio 3.1 Code Composer Studio 3.1

The document provides instructions for setting up and running a JPEG image compression project in Code Composer Studio. It involves creating a new project called "compress" targeting a TMS320C67xx DSP, adding the necessary source, linker, and library files to the project, compiling and linking the files, loading and running the program on the target DSP, and viewing output of the compressed image file.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Texas Instruments Code Composer Studio 3.1 Code Composer Studio 3.1

The document provides instructions for setting up and running a JPEG image compression project in Code Composer Studio. It involves creating a new project called "compress" targeting a TMS320C67xx DSP, adding the necessary source, linker, and library files to the project, compiling and linking the files, loading and running the program on the target DSP, and viewing output of the compressed image file.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

1. From the Windows Start menu, choose ProgramsTexas InstrumentsCode Composer Studio 3.1Code Composer Studio 3.1.

2. From the Project menu, choose New. 3. In the Project Name field, type compress. 4. In the Location field, browse to C:\CCStudio_v3.1\MyProjects folder. 5. In the Project Type field, select Executable (.out). 6. In the Target field, select TMS320C67xx configuration and click Finish. The Code Composer Studio Program creates a project file called compress.pjt.

7. Choose ProjectAdd Files to Project. Select ENC.C from the working folder, and click Open. We can also add files to the project by right-clicking on the Project View icon and choosing Add Files to Project or by dragging and dropping files into folders in the Project View window. 8. Choose ProjectAdd Files to Project. Select Linker Command File (*.cmd, *.lcf) in the Files of type box. Select jpeg.cmd and click Open. This file maps sections to memory. 9. Choose ProjectAdd Files to Project. Go to the compiler library folder (C:\CCStudio_v3.10\c6000\cgtools\lib). Select Object and Library Files (*.o*, *.l) in the Files of type box. Select the rts6700.lib file click Open. 10. Double-click on the ENC.C file in the Project View to open the source code in the right half of the Code Composer Studio window.

11. Choose ProjectCompile File. 12. Choose ProjectRebuild All. The program recompiles, reassembles, and relinks all the files in the project. The Build frame at the bottom of the window displays messages about this process. 13. By default, the .out file is built into a debug directory located under the current project folder. 14. Copy the image to be compressed into the debug directory. 15. Choose FileLoad Program. Select the program that was just rebuilt, compress.out, and click Open. CCStudio loads the program onto the target DSP and opens a Disassembly window that shows the disassembled instructions that make up the program. 16. Choose DebugGo Main to begin execution from the main function. The execution halts at main and is identified by

17. Choose DebugRun. The text message should appear in the Stdout tab of the message window on the bottom of the CCStudio screen.

18. After the text message Encoding finished, the compressed image will be in debug directory of the current project.

You might also like