Code Composer Studio Operation Manual

Similar documents
Experiment 6 Finite Impulse Response Digital Filter (FIR).

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

As CCS starts up, a splash screen similar to one shown below will appear.

As CCS starts up, a splash screen similar to one shown below will appear.

PSIM Tutorial. How to Use SimCoder with TI F28335 Target Powersim Inc.

Digital Signal Processing and Applications with the TMS320C6713 and TMS320C6416 DSK second edition

Dual Tone Multi-Frequency (DTMF) Generation with TI-DSP TMS320C6713 Processor

TUTORIAL Auto Code Generation for F2833X Target

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

TMS320C5502 ezdsp Quick Start Guide

F28069 ControlCard Lab1

ECE4703 Real-Time DSP Orientation Lab

MEM MEM Control Applications of DSP. Lab 2. Project Creating & GPIO DSP28355 & CCSv5

ECE 487 LAB 1 ÇANKAYA UNIVERSITY Overview of DSP Board

MEM Microprocessor-Based Control Systems. Lab 4. Modeling and Simple Feedback Control DSP28355, CCSv Introduction. 2.

TUTORIAL Auto Code Generation for F2803X Target

Getting Started Guide: TMS-FET470A256 IAR Kickstart Development Kit

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

Texas Instruments Code Composer and ez-dsp Setup Notes

TUTORIAL Auto Code Generation for F2806X Target

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

F28335 ControlCard Lab1

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

Implementation Techniques for DSP

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

Using Code Composer Studio IDE with MSP432

Module 3: Working with C/C++

How to: Flash the DC/DC LED Lighting Kit s F28035 controlcard so that it works with the GUI

Create and Debug a CCSv5.5 Project for DSK6713- or DUETT-Board1

System Framework Overview Guide and Instructions on How to Use the Template Projects

ECE 5655/4655 Laboratory Problems

TI mmwave Training. mmwave Demo

If your machine is not connected to any network, you can configure the Microsoft Loopback Adapter to simulate a network connection.

TMS. series SIGNUM SYSTEMS CORPORATION. JTAGjet Driver for Code Composer Studio 2.x/3.0. Installation Instructions

Section Objective: Acquaint with specifications of Launchpad Acquaint with location of switches, LEDs, power-on switch, powering the board.

TI mmwave Labs. Vital Signs Measurement

EE289 Lab Spring 2012

TMS320C5535 ezdsp Quick Start Guide

Debugging in AVR32 Studio

Migration from HEW to e 2 studio Development Tools > IDEs

WRITING CONSOLE APPLICATIONS IN C

TI mmwave Training. xwr16xx mmwave Demo

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Labs instructions for Enabling BeagleBone with TI SDK 5.x

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

HVMotorCtrl + PFC Kit How to Run Guide

Composer Help. Import and Export

MSP430 Interface to LMP91000 Code Library

Code Composer Studio Development Tools v3.3. Getting Started Guide

Lab 6 : Introduction to Simulink, Link for CCS & Real-Time Workshop

Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial

MSP430 Interface to LMP91000 Code Library

Pengwyn Documentation

At the shell prompt, enter idlde

Hello World on the ATLYS Board. Building the Hardware

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod

Military Icons User Guide Version 1.0

Figure 1. Simplicity Studio

Contents. About This Guide... 2 Audience... 2 Revision History... 2 Conventions... 3 Definitions, Acronyms, and Abbreviations... 3

Section 2: Getting Started with a FPU Demo Project using EK-LM4F232

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm

Code Composer Studio IDE Getting Started Guide. User's Guide

DSP Development Environment: Introductory Exercise for TI TMS320C55x

Digital Signal Processing and Applications with the TMS320C6713 DSK

Quick-Start Guide. BNS Solutions. QSK62P Plus

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

To install the Texas Instruments CCS Compiler, follow these steps: 1. Go to the TI Wiki page (

EM L13 Preparing Applications to Virtualized and Streamed Hands-On Lab

SKP16C26 Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Lab 1: Introduction to C Programming. (Creating a program using the Microsoft developer Studio, Compiling and Linking)

Introducing TI s Integrated Development Environment CCS (Code Composer) Studio) to Expert Engineers

Code Composer Studio. MSP Project Setup

UC Desktop Client Feature Guide

TREX Set-Up Guide: Creating a TREX Executable File for Windows

Visual C++ Tutorial. For Introduction to Programming with C++ By Y. Daniel Liang

Code Composer TM. Quick Start Guide

Lab 3-2: Exploring the Heap

TMS570LS Microcontrollers: Using the NHET as a General Purpose I/O Pin

U-Boot and Linux Kernel Debug using CCSv5

AURIX family and AUDO Future, AUDO MAX

Eclipse Environment Setup

TriCore Free Entry Tool Chain. AURIX family and AUDO Future, AUDO MAX

UsbScope.eu Manual. UsbScope.eu Manual. Version channel version

Lab 4- Introduction to C-based Embedded Design Using Code Composer Studio, and the TI 6713 DSK

Freescale Semiconductor Inc. Vybrid DS-5 Getting Started Guide Rev 1.0

ECE QNX Real-time Lab

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

Viewing Logs. CIMC Log. Viewing the CIMC Log. Procedure. This chapter includes the following sections: CIMC Log, page 1 System Event Log, page 4

EDEM Dynamics Coupling Quick Start Guide

1. Launch your web browser. 2. Go to < Enter your address and Password as requested. Click on login.

Spartan-6 LX9 MicroBoard Embedded Tutorial. Tutorial 1 Creating an AXI-based Embedded System

Migrating from CubeSuite+ to Eclipse RL78 Family

IAR C-SPY Hardware Debugger Systems User Guide

Exchange Address Book Order

Contributing Lists in Activity Center

TMS320F2808, TMS320F2806 and TMS320F2801 SDFlash JTAG Flash Programming Utilities

Xilinx Vivado/SDK Tutorial

Installation and Upgrade Guide Zend Studio 9.x

Transcription:

Code Composer Studio Operation Manual Contents Code Composer Studio Operation Manual... 1 Contents... 1 Section 1: Launching CSS... 1 Section 2: Create Project & Preparing Project Setting... 3 Section 3: Preparing Build Settings... 6 Section 4: Importing Files... 12 Section 5: Building Your Program.... 12 Section 6: Loading Your Program.... 13 Section 7: Running the Executable file exp6.out.... 14 Section 8: Plotting with CCS.... 15 **Note: The manual use Experiment 6 as example Section 1: Launching CSS To create a working project, follow these steps: 1. Double-Click the CCS icon on the Desktop. You will see the CCSv5 splash screen while CCS loads. 2. The next window will be the Workspace Launcher window which will ask you where you want to locate your CCSv5 workspace. Replace the location with D:\<Your_Student_ID>\ (example: D:\EE091189\ as shown in figure below)

3. Upon running the directory for the first time, you will be prompted with TI Resource Explorer screen 4. This screen is useful when making TI CCS projects which use TI tools. The DSK6713 uses standard features and therefore does not use the TI resources Explorer. Close the TI Explorer Screen. You will be left in the Project Explorer Default Menu

Section 2: Create Project & Preparing Project Setting On Menu Bar, Select Project New CCS Project. You will be prompted with New CCS Project Window

1. Fill in the Project Details as shown in figure below Project Name : ProjectName (Example: Exp6) Output type : Executable Tick use default location Device Family : C6000 Variant : TMS320C67XX DSK6713 Connection : Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator 2. Click on the Advance Settings to bring down the menu. Fill in the information as shown

Device endianness : little Compiler version : TI v7.4.4 Output format : legacy OFF Linker command file 1. Click Browse 2. Browse to C:\ECCB311 \Support\ 3. Select C6713dsk.cmd Runtime Support Library : <automatic> 3. Click on the Project templates and Examples to bring down the menu. Click on Empty Project Then click Finish

Section 3: Preparing Build Settings On Menu Bar, Select Project Show Build Settings You will be prompted with Build Properties window 1. Under C600 Compiler > Processor options: Target processor version ( -- silicon_versino, -mv) : 6700

2. Under C600 Compiler > Optimization Optimization level (--opt_level, -O) : 1 Optimize for code size (--opt_for_space, -ms) : 1 3. Under C6000 Compiler > Debug Options Debugging model : Full symbolic debug (--symdebug:dwarf, -g) 4. Under C6000 Compiler > Include Options

Under dir to #include search path (--include_path, -l), click on the will be prompted with Add directory path window. button and you Type in the location and press enter. Then repeat for every location as listed below C:\ECCB311\DSK6713\c6000\bios\include C:\ECCB311\DSK6713\c6000\dsk6713\include C:\ECCB311\Support Your Include options window should look like figure shown below

5. Under C6000 Compiler > Advanced Options > Predefined Symbols Add CHIP_6713 to Pre-define NAME (--define, -D) by clicking 6. Under C6000 Compiler > Advanced Options > Runtime Model Options Data access model (--mem_model:data) :far

7. Under C6000 Linker > Basic Options C system stack size ( --stack_size, -stack) : 800 8. Under C6000 Linker > File Search Path Under Include library file or command file as input (--library, -l), click on the button and you will be prompted with Add file path window.

Type in the location and press OK. Then repeat for every location as listed below C:\ECCB311\DSK6713\c6000\bios\lib\csl6713.lib C:\ECCB311\DSK6713\c6000\dsk6713\lib\dsk6713bsl.lib 9. Once you finish preparing build settings, press OK on the properties window.

Section 4: Importing Files 1. In Project Explorer Window, make sure your project is selected 2. Add sine_8_buf.c On Menu Bar, Select Project Add Files You will be prompted with Add Files window Navigate to C:\ECCB311\sine8_buf folder Add sine8_buf.c *Note: When prompted with this window, select copy files and press OK 3. Add C6713dskinit.c Navigate to C:\ECCB311\Support folder Add C6713dskinit.c 4. Add vectors_intr.asm Navigate to C:\ECCB311\Support folder Add vectors_intr.asm Section 5: Building Your Program. Project Build Project After you build your project, all the necessary include files will appear in the include tab in the project explorer. The error log window will show the build process and status. When the build is finished, the error log window will display ***Build Finished*** and you will get 8 warnings NOTE: 1. Since the DSK Starter kit is an old hardware, it is not fully compatible running on a newer platform. Hence you will get 8 warnings) 2. The Rebuild All command is mainly used to rebuild the project when the project options or any files in the project have changed.

Section 6: Loading Your Program. Select Run Debug. A new CCS Debug window (as shown in figure below) will appear. (NOTE: you need to connect the DSK starter to your PC using USB. If there is no connection, an error will appear and the CCS Debug window will be closed) After the program has been built successfully, load the program by going to Run Load Load Program. By default, Code Composer Studio IDE will create a subdirectory called Debug within your project directory and store the.out file in it. Select exp6.out and click Open to load the program. (Note: Remember to reload the program by choosing Run Load Reload Program if you rebuild the project after making changes)

Section 7: Running the Executable file exp6.out. On the debug window, click to run program. Connect a speaker or scope to the LINE OUT connector on the DSK. Verify that a 1 KHz tone or sinusoid is generated. Note: 1. Click to HALT the programme. 2. Click to STOP the programme. By clicking this, the CCS Debug window will close and you will return to CCS Edit window

Section 8: Plotting with CCS. Halt the DSK by selecting Run Suspend or the icon. The output buffer is continuously being updated every 256 points. We can use the CCS to plot the current output data stored in the out_buffer. 1. Display Single Time graph using CCS. Select Tools Graph Single Time. Change the graph Property Dialog as follows. Click OK and time domain graph will be plotted

2. Display FFT using CCS. Select Tools Graph FFT Magnitude. Change the graph Property Dialog as follows. Click OK and time domain graph will be plotted