ECE4703 Real-Time DSP Orientation Lab

Similar documents
Digital Signal Processing and Applications with the TMS320C6713 DSK

Workshop Goals. Page 2 of 68

Experiment 6 Finite Impulse Response Digital Filter (FIR).

ECE 487 LAB 1 ÇANKAYA UNIVERSITY Overview of DSP Board

Lab 1 Introduction to TI s TMS320C6713 DSK Digital Signal Processing Board

Code Composer Studio Operation Manual

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

Chapter 7. Hardware Implementation Tools

ECE4703 B Term Laboratory Assignment 1

DSP Laboratory (EELE 4110) Lab#6 Introduction to Texas Instruments DSK TMS320C6711

Digital Signal Processing and Applications with the TMS320C6713 and the TMS DSK

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

Digital Signal Processing Laboratory 7: IIR Notch Filters Using the TMS320C6711

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

D. Richard Brown III Associate Professor Worcester Polytechnic Institute Electrical and Computer Engineering Department

ECE 5655/4655 Laboratory Problems

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

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

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

Lab 1. OMAP5912 Starter Kit (OSK5912)

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

Implementation Techniques for DSP

Conclusions. Introduction. Objectives. Module Topics

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

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

Real-Time DSP for Educators

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

TUTORIAL Auto Code Generation for F2833X Target

Texas Instruments Code Composer and ez-dsp Setup Notes

Digital Signal Processing and Applications with the TMS320C6713 DSK

CORRIGENDUM ISSUED FOR NATIONAL COMPETITIVE BIDDING UNDER TEQIP PHASE-II

PCM3006 Daughtercard for the Texas Instruments TMS320C6X11 Digital Signal Processing (DSP) Starter Kit

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

Classification of Semiconductor LSI

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

F28335 ControlCard Lab1

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

BHFlashBurn v2.0. User Guide. BHFlashBurn-UG-02 April 2008

Digital Signal Processor 2010/1/4

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

F28069 ControlCard Lab1

Installing and testing Code Composer Studio Version 3.1 Use of the TMS320C6713 or TMS320C6416 DSK Programming examples

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Embedded Systems. 2. Software Development. Lothar Thiele. Computer Engineering and Networks Laboratory

SignalMaster Manual Version PN: M072005

D. Richard Brown III Professor Worcester Polytechnic Institute Electrical and Computer Engineering Department

2008/12/23. System Arch 2008 (Fire Tom Wada) 1

Lab 3-2: Exploring the Heap

D. Richard Brown III Associate Professor Worcester Polytechnic Institute Electrical and Computer Engineering Department

April 4, 2001: Debugging Your C24x DSP Design Using Code Composer Studio Real-Time Monitor

Using Code Composer Studio IDE with MSP432

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Part1: Building a new project with AVRstudio and avr-gcc

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4

TUTORIAL Auto Code Generation for F2803X Target

Cypress FM4 Tools Set-up with Keil 5.x

Speeding AM335x Programmable Realtime Unit (PRU) Application Development Through Improved Debug Tools

C8051F00x/01x-DK C8051F00X/01X DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. 2. Hardware Setup using a USB Debug Adapter

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

Experiment 1. Development Platform. Ahmad Khayyat, Hazem Selmi, Saleh AlSaleh

Debugging in AVR32 Studio

DOMAIN TECHNOLOGIES INC. Users Guide Version 2.0 SB-USB2. Emulator

SMT943 APPLICATION NOTE 1 APPLICATION NOTE 1. Application Note - SMT372T and SMT943.doc SMT943 SUNDANCE MULTIPROCESSOR TECHNOLOGY LTD.

ArduCAM CC3200 UNO board

IAR C-SPY Hardware Debugger Systems User Guide

TMS320F2808, TMS320F2806 and TMS320F2801 SDFlash JTAG Flash Programming Utilities

TMS320C5535 ezdsp Quick Start Guide

Migrating from CubeSuite+ to Eclipse RL78 Family

Exercise 1-2. The Assembler and Debugger EXERCISE OBJECTIVES

TI TMS320C6000 DSP Online Seminar

TMS320F2802x SDFlash JTAG Flash Programming Utilities

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

CPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench

Using Embedded Tools for I2C, SPI, and USB Debugging for the Renesas RX63N RDK

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

Comprehensive Design Review. Sync-In March 4, 2015

WRITING CONSOLE APPLICATIONS IN C

Embedded Target for TI C6000 DSP 2.0 Release Notes

TMS320VC5416 DSK Developing System

TUTORIAL Auto Code Generation for F2806X Target

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

AC/DC. Adapter. Serial. Adapter. Figure 1. Hardware Setup

Note: The Silicon Labs USB Debug Adapter is not included in this kit and is required to reprogram the board.

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

EMUL-ARM. Board Support: Atmel EB55 February 25, Nohau Corporation. All rights reserved worldwide.

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

DSP Applications Using C and the TMS320C6x DSK

ECE 381 Lab 1a PSoC5 Blinking LED 1. Launch PSoC Creator 3.3 from the star menu

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

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

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

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

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

AC/DC Adapter. Figure 1. Hardware Setup

Cypress MicroSystems Application Note 1017

System Ace Tutorial 03/11/2008

Code Composer Studio v4. Introduction

Transcription:

ECE4703 Real-Time DSP Orientation Lab D. Richard Brown III Associate Professor Worcester Polytechnic Institute Electrical and Computer Engineering Department drb@ece.wpi.edu 25-Oct-2006

C6713 DSK Overview 225 MHz TMS320C6713 floating point DSP AIC23 stereo codec (ADC and DAC) Ideal for audio applications 8-96 khz sample rates Line in/out (use these most of the time) Built-in headphone amplifier Built-in microphone preamplifier General purpose I/O 4 LEDs 4 DIP switches Memory 16 MB dynamic RAM 512 kb nonvolatile FLASH memory USB interface to PC Page 2 of 25

C6713 DSK Functional Block Diagram Page 3 of 25

C6713 DSK Physical Layout Page 4 of 25

Is my DSK working? DSK Power On Self Test Power up DSK and watch LEDs Power On Self Test (POST) program stored in FLASH memory automatically executes POST takes 10-15 seconds to complete All DSK subsystems are automatically tested During POST, a 1kHz sinusoid is output from the AIC23 codec for 1 second Listen with headphones or watch on oscilloscope If POST is successful, all four LEDs blink 3 times and then remain on Page 5 of 25

Is my DSK working? DSK Diagnostic Utility Use DSK diagnostic utility to test DSK functionality press start ok! Page 6 of 25

Code Composer Studio IDE Integrated Development Environment Editor Compiler (C and ASM, with optional optimization) Linker Load binaries to target (the DSK) Debugger Performance analyzer Graphics etc How to get started: Connect power supply to DSK Wait for POST to complete Connect USB cable from PC to DSK Launch Code Composer Studio C6713 DSK CCS will load and wait for your input Page 7 of 25

Code Composer Studio IDE Page 8 of 25

CCS Integrated Development Environment Useful TI documentation (installed on the hard drive): SPRU509F.PDF CCS v3.1 IDE Getting Started Guide C6713DSK.HLP C6713 DSK specific help material Note that we are using CCS v3.1. When consulting documentation, be sure to check the version of CCS for which the documentation was written. Page 9 of 25

Connecting to the C6713 DSK Page 10 of 25

Opening an Existing Project Project->Open Select a.pjt file and press Open. Chassaing example projects should be in c:\myprojects\ Other example projects for the C6713 can be found in c:\myprojects\examples\dsk6713 You also have several example projects on your Kehtarnavaz textbook CD. Page 11 of 25

Compiling/Building a Project Project->Build (F7) Page 12 of 25

Loading and Running a Project on the C6713 DSK File-> Load Program (ctrl+l) Select the.out file in the project\debug directory. Program is sent to DSK. Debug->Run (F5 or the Run button ) Page 13 of 25

Halting a Running Program on the C6713 DSK Debug->Halt (shift+f5 or the Halt button ). Page 14 of 25

Fixing Problems with the Chassaing/Kehtarnavaz Examples During compilation, the compiler can t find some header (.h) files? Fix: Add an item to the CCS search path During compilation, the linker can t find some libraries? Fix: Remove hard links to libraries and add libraries manually to the project During compilation, you get warnings about far calls to data? Fix: Set the memory model to data=far Page 15 of 25

Add C:\CCStudio_v3.1\C6000\dsk6713\include to the search path Project -> Build Options Page 16 of 25

Removing hard links to libraries Problem is caused by a bad path for the include libraries in the linker options (Project -> Build Options -> Linker tab) A fix for this is do remove rts6700.lib, DSK6713bsl.lib, and csl6713.lib from the linker options and add these files manually (Project -> Add files to Project ) remove these Page 17 of 25

Change the memory model to data=far Project -> Build Options Page 18 of 25

Creating a New Project (1 of 5) 1. Create new project Project->New Page 19 of 25

Creating a New Project (2 of 5) 2. Write your C code: File->New->Source File 3. Save it in your project directory (make sure it has a.c extension): File->Save 4. Add your C code to the project: Project->Add Files to Project Page 20 of 25

Creating a new project (3 of 5) 5. Add required support files to project Project->Add Files to Project a) A linker command file (.cmd) [you can find good examples of these in your Kehtarnavaz textbook CD] b) c6000\cgtools\lib\rts6700.lib [run-time support library functions - required] 6. Add optional support files to project, e.g. Project->Add Files to Project a) vectors.asm (from your Kehtarnavaz CD) [used to set up interrupt vectors] b) c6000\dsk6713\lib\dsk6713bsl.lib [DSK board support library functions useful for interfacing to the codec, DIP switches, and LEDs] c) c6000\csl\lib\csl6713.lib [chip support library functions] Note that the optional support files are not needed for all projects. Page 21 of 25

Creating a New Project (4 of 5) 7. Set up the build options for C6713: Project -> Build Options (compiler tab) o o Make sure target version is C671x Also make sure opt level is none (this will help with debugging) Page 22 of 25

Creating a New Project (5 of 5) 8. Scan all file dependencies to automatically bring all header files and includes into the project: Project -> Scan all file dependencies 9. Build the project: Project -> Build 10. If successful, load the.out file to the DSK: File -> Load Program Select the Debug directory. Select the.out file. 11. Run it: Debug -> Run or F5 or the run button. Page 23 of 25

Optional: Suppress linker warnings Project->Build Options (linker tab) Uncheck warn about output sections (or put in values for stack and heap) Page 24 of 25

Important Reference Material Kehtarnavaz Chapter 4 Kehtarnavaz CD Chassaing examples in c:\myprojects directory CCS Help system SPRU509F.PDF CCS v3.1 IDE Getting Started Guide C6713DSK.HLP C6713 DSK specific help material Spectrum Digital TMS320C6713 DSK reference Latest TI documentation available at http://www.ti.com/sc/docs/psheets/man_dsp.htm Page 25 of 25