Create_Simulate_ASM_CCS_Project

Create_Simulate_ASM_CCS_Project - University of Florida...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Florida EEL 4744 Drs. E M. Schwartz & K. Gugel Department of Electrical & Computer Engineering Page 1/7 Revision 0 12-Feb-12 Creating and Simulate an ASM Project in CCS Introduction The purpose of this document is to enable a student to quickly create a project under CCS for assembling, and linking an assembly file, and then to simulate the file. To complete this tutorial you will need two additional files: ex0.asm and KG_RAM_Link1.cmd. After obtaining them from our class web page, copy the KG_RAM_Link1.cmd file into a folder called c:\ 4744\ccs\projects\example0 and put the ex0.asm file on your desktop (or in the same folder). The file ex0.asm is an assembly file that illustrates various assembler directives and TMS320F28335 DSP assembly code. KG_RAM_Link1.cmd is a linker command file that is required to set the proper addresses for each code section and to instruct the linker how to build the final machine code output. This linker command file is an adaptation of Texas Instrument’s linker command file “28335_RAM_lnk.cmd.” Procedure 1. This tutorial assumes that you already have Code Composer Studio installed and have set your workspace folder location on your hard disk. For more information on this topic see the tutorial CCS_Installation_Instructions.pdf (at http://mil.ufl.edu/4744/docs/CCS_Installation_Instructions.pdf ). 2. Open CCS and create a new project via the following commands (as shown below): File New CCS Project .
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
University of Florida EEL 4744 Drs. E M. Schwartz & K. Gugel Department of Electrical & Computer Engineering Page 2/7 Revision 0 12-Feb-12 Creating and Simulate an ASM Project in CCS 3. Type in your Project Name, e.g., example0 . Next, un -check the box “Use default location” to place the project in another location other than your workspace folder. It is recommended that you create a new folder called projects underneath the folder you created in the CCS installation tutorial, CCS_Installation_Instructions.pdf. In this folder you should then create a new folder for every project, e.g., c:\ 4744\ccs\projects\example0 . Note: CCS does not create a specific file to contain the project information but instead looks for files under a particular name in a given folder. This will be discussed further later; the important rule is to create a folder for every new project (examples, lab code, experimentation, etc.). See the screen snapshot to the right. Select “Next >”. 4. Select the ‘Advanced settings’ tab. This should drop down a new menu for you to select options. Click the drop down box for the Linker command file. Point to the KG_RAM_Link1.cmd file. This file is located on the website and in the example0.zip file. You will use this linker file for the entire semester. Next, select the ‘Project templates and examples’ tab and then highlight the Empty Assembly-only Project. Click finish. See the screenshots below.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

Create_Simulate_ASM_CCS_Project - University of Florida...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online