Documente Academic
Documente Profesional
Documente Cultură
Learning Objectives
Chapter 3, Slide 2
Dr. Naim
The Code Composer Studio (CCS) application provides an integrated environment with the
following capabilities:
Integrated development environment with an editor, debugger, project manager, profiler, etc.
C/C++ compiler, assembly optimiser and linker (code generation tools).
Simulator.
Real-time operating system (DSP/BIOS).
Real-Time Data Exchange (RTDX) between the Host and Target.
Real-time analysis and data visualisation.
Chapter 3, Slide 3
Dr. Naim
Alternatively:
Windows Start Menu -> Programs -> Texas Instruments -> Code Composer Studio 2 (C6000) -> Setup Code Composer Studio.
Run cc_setup.exe located in: c:\ti\cc\bin\
Chapter 3, Slide 4
Dr. Naim
Note: If you dont see the Import Configuration dialog box you should open it
from the menu using: File:Import.
Chapter 3, Slide 5
Dr. Naim
Chapter 3, Slide 6
Dr. Naim
Chapter 3, Slide 7
Dr. Naim
Chapter 3, Slide 8
Dr. Naim
Using CCS
Start -> Programs -> Texas Instruments -> Code Composer Studio 2 ->
Code Composer Studio.
Run cc_app.exe in c:\ti\cc\bin\
Chapter 3, Slide 9
CCS 2.lnk
Dr. Naim
Troubleshooting
Chapter 3, Slide 10
Dr. Naim
Chapter 3, Slide 11
Dr. Naim
DSK6711 Contents
Hardware (Schematics)
16 MB SDRAM
128 kB Flash ROM
LEDs
Daughter card expansion
Power Supply & Parallel Port Cable
Software
Chapter 3, Slide 12
16M SDRAM
128K FLASH
Parallel
Port I/F
TMS320C6711
Power
Jack
D. Card I/F
(Periph Con.)
Power
LED
User DIP
switches
3.3V Power Supply
JTAG Header
Chapter 3, Slide 13
C6711
DSP
Reset
Emulation
JTAG Controller
Parallel Cable
Power
Supply
External
Power
Supply
DSK
Line-level Output
Line-level Input
PC
XDS
DSK
Power
Supply
Chapter 3, Slide 14
External
Power
Supply
Line-level Output
Line-level Input
Dr. Naim
Test
0
1
2
3
4
5
6
7
Chapter 3, Slide 15
LED 3 LED 2
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
BLINK ALL
LED 1 Description
0
Start state
1
DSP internal SRAM test
0
External SDRAM test
1
DSP McBSP0 loop back test
0
External codec read/write test
1
External codec tone generation test
0
External LED and DSP timer test
1
Unused available for future test use
All tests completed successfully
Dr. Naim
Absolute Reset
On rare occasions you
might have to:
Pull power jack
Pull parallel port
Apply Power
POST runs
Chapter 3, Slide 16
Reset Pushbutton
Dont push when CCS
is running
Does not force FULL
system reset
To fully reset board,
pull power plug
64 kB Internal
C6711 DSK
16 MB SDRAM
(Program or Data)
0180_0000
On-chip Periph
128 kB FLASH
4 byte I/O Port
8000_0000
9000_0000
A000_0000
128 MB External
B000_0000
128 MB External
LEDs
Switches
128 MB External
128 MB External
9008_0000
DSK status
DSK rev#
Daughter Card
Available via
Daughter Card
Connector
FFFF_FFFF
Chapter 3, Slide 17
Dr. Naim
Origin
0x00000000
0x01800000
0x01840000
0x01844000
0x01844020
0x01845000
0x01848200
0x01848240
0x01848280
0x018482c0
0x01880000
0x018c0000
0x01900000
0x01940000
0x01980000
0x019c0000
0x01a00000
0x01a0ffe0
0x02000000
0x02000020
0x30000000
0x34000000
0x80000000
0x90000000
0x90080000
0xA0000000
0xB0000000
Length
0x00010000
0x00000024
0x00000004
0x00000020
0x00000020
0x00000008
0x00000010
0x00000010
0x00000010
0x00000010
0x00000004
0x00000028
0x00000028
0x0000000c
0x0000000c
0x0000000c
0x00000800
0x00000020
0x00000014
0x00000014
0x04000000
0x04000000
0x01000000
0x00020000
0x00000004
0x10000000
0x10000000
Dr. Naim
Runs on PC host
Downloads .out file to DSK memory map
Stand alone DSK loader for when you want to bypass CCS
FLASH Programming
hex6x.exe
flash.exe
f.out h.cmd
f.hex
dsk6ldr.exe filename.out
dsk6xtst
Chapter 3, Slide 19
Dr. Naim
Quick Test
Chapter 3, Slide 20
Dr. Naim
Dr. Naim
DSP
JTAG
.......
.......
JTAG
Emulation
Port
Note: You should not use the parallel port for simultaneous emulation and HPI connection.
Chapter 3, Slide 22
Dr. Naim
dsk6x_open( )
dsk6x_close( )
dsk6x_reset_board( )
dsk6x_reset_dsp( )
dsk6x_coff_load( )
dsk6x_hpi_open( )
dsk6x_hpi_close( )
dsk6x_hpi_read( )
dsk6x_hpi_write( )
dsk6x_generate_int( )
Chapter 3, Slide 23
Dr. Naim
Link: tmdsdsk6713.html
Link: Reference Manual
Chapter 3, Slide 24
Dr. Naim
Program
Cache
SDRAM
(8 MB)
CPU
Internal
Memory
EMIF
CE1
Flash ROM
Data
Cache
Chapter 3, Slide 25
(256 kB)
I/O Port
Daughter
DaughterCard
Card
CE2
Room
for
Expansion
CE3
Chapter 3, Slide 26
Dr. Naim
256 kB Internal
C6713 DSK
8 MB SDRAM
Program / Data
0180_0000
Peripheral Regs
256 kB FLASH
CPLD
8000_0000
128 MB External
9000_0000
128 MB External
A000_0000
128 MB External
B000_0000
128 MB External
Available via
Daughter Card
Connector
9008_0000
CPLD:
LEDs
DIP Switches
DSK status
DSK rev#
Daughter Card
FFFF_FFFF
Chapter 3, Slide 27
Dr. Naim
Link: tmdsdsk6416.html
Link: Reference Manual
Chapter 3, Slide 28
Dr. Naim
Program
Cache
CPU
Data
Cache
Chapter 3, Slide 29
CPLD
L2 RAM
Prog/Data
(1 MB)
CE1
EMIFB
Flash ROM
EMIFA
CE0
(512 kB)
Daughter
DaughterCard
Card
CE2
Room
for
Expansion
Chapter 3, Slide 30
Dr. Naim
C6416 DSK
0000_0000
Internal RAM: 1 MB
0010_0000
Internal Peripherals
or reserved
Internal Peripherals
or reserved
6000_0000
EMIFB CE0: 64 MB
CPLD
6400_0000
EMIFB CE1: 64 MB
6800_0000
EMIFB CE2: 64 MB
6C00_0000
EMIFB CE3: 64 MB
8000_0000
9000_0000
A000_0000
B000_0000
Chapter 3, Slide 31
Flash: 512 kB
CPLD:
LEDs
DIP Switches
DSK status
DSK rev#
Daughter Card
SDRAM: 16 MB
Daughter Card
Dr. Naim
Audio cables.
(2) Connect the power and observe the Power On Self-Test (POST) (Refer to Slide 15).
Chapter 3, Slide 32
Dr. Naim
Chapter 3, Slide 33
Dr. Naim
Chapter 3, Slide 34
Dr. Naim
N 1
a x
i i
i 0
(1) Create a working directory and copy the following files from \Code\Chapter 03 - CCS and DSK\:
(a) lab3.cdb
(b) lab3.c
(c) lab3cfg.cmd
(2) Create a new project:
(a) Start CCS.
(b) Create a new project as shown on the following
slide.
Chapter 3, Slide 35
Dr. Naim
Note: When you type in the Project Name a directory is created in the Location.
Delete this if not required.
Chapter 3, Slide 36
Dr. Naim
Chapter 3, Slide 37
Dr. Naim
Chapter 3, Slide 38
Dr. Naim
errors, 0 warnings:
CCS menu
Chapter 3, Slide 39
Dr. Naim
Chapter 3, Slide 40
Dr. Naim
Chapter 3, Slide 41
Dr. Naim
(ii) To add another variable to the watch select it and then drag and drop it on to the
Chapter 3, Slide 42
window.
Dr. Naim
Chapter 3, Slide 43
Dr. Naim
Chapter 3, Slide 44
Dr. Naim
variable y:
Chapter 3, Slide 45
Dr. Naim
Chapter 3, Slide 46
Dr. Naim
Chapter 3, Slide 47
Dr. Naim
Chapter 3, Slide 48
Dr. Naim
CCS Overview:
Resets:
Chapter 3, Slide 49
\Links\spru301c.pdf
\Links\ccs_dsk.pdf
Dr. Naim
Chapter 3
Code Composer Studio and the DSK
- End -