Professional Documents
Culture Documents
Learning Objectives
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 visualization.
Alternatively:
Windows Start Menu -> Programs -> Texas Instruments -> Code
Composer Studio 3.1 (C6000) -> Setup Code Composer Studio 3.1
Run cc_setup.exe located in: c:\CCStudio_v3.1\cc\bin\
icons:
Note:
6
If you dont see the Import Configuration dialog box you should open it from the
menu using: File: Import.
If you want to test your DSK and USB connection you can launch
the C6416 DSK Diagnostic Utility from the icon on your desktop.
10
11
12
13
Using CCS
Start CCS by either:
Using the desktop icon:
CCS 2.lnk
Start -> Programs -> Texas Instruments -> Code Composer Studio 2 ->
Code Composer Studio.
Run cc_app.exe in c:\CCStudio_v3.1\cc\bin\
14
Troubleshooting
If the following window appears on your screen then:
Check that the DSK is connected properly and powered up.
Check if the port address and mode is correct
15
Starting CCS
16
17
18
DSP
JTAG
.......
.......
19
JTAG
Emulation
Port
Note: You should not use the parallel port for simultaneous emulation and HPI connection.
Use USB
DSP
JTAG
.......
.......
20
JTAG
Emulation
Port
21
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( )
Graphically configure
build options
Saved with each project
22
23
24
25
26
3.
4.
27
28
29
30
BSL is a set of APIs used to configure and control all on-board devices
To make it easier for developers by eliminating much of the tedious
grunt-work usually needed to get algorithms up and running in a real
system
Kit Contents
32
Headphones Expansion
CPU
Codec
Supply +5V
33
USB
JTAG
LEDs
Switches
Reset
Sw3
RAM
Headphones
34
to +5V
Microphone
35
Program
Cache
CPU
Data
Cache
36
CPLD
L2 RAM
Prog/Data
(1 MB)
CE1
EMIFB
Flash ROM
EMIFA
CE0
(512 kB)
Daughter
DaughterCard
Card
CE2
Room
for
Expansion
6000_0000
6400_0000
6800_0000
6C00_0000
8000_0000
9000_0000
A000_0000
B000_0000
37
C6416 DSK
Internal RAM: 1 MB
Internal Peripherals
or reserved
Internal Peripherals
or reserved
EMIFB CE0: 64 MB
CPLD
EMIFB CE1: 64 MB
Flash: 512 kB
EMIFB CE2: 64 MB
EMIFB CE3: 64 MB
EMIFA CE0: 256 MB
SDRAM: 16 MB
CPLD:
LEDs
DIP Switches
DSK status
DSK rev#
Daughter Card
Switch SW3
38
39
USB.
Audio cables.
(2) Connect the power and observe the Power On Self-Test (POST) (Refer to
Slide 15).
(3) A . If using the DSK6416
Configure and test the DSK with the utilities shown below:
40
41
#include <stdio.h>
void main()
{
int nTarget = 0;
printf("Hello, CCStudio Scripting World!\n");
nTarget = 0x64;
printf("We are a C%x!\n", nTarget);
}
(1) Create a working directory and copy the following files from \Lab03\Code\Hello64:
(a)
rts6400.lib
(b)
hello.c
(c)
lnk.cmd
(d)
vectors.asm
(2) Create a new project (Hello64):
(a)
Start CCS.
(b)
Create a new project as shown on the following slides.
42
ai = {40, 39, , 1}
xi = {1, 2, , 40}
N 1
a x
i i
i 0
(1) Create a working directory and copy the following files from
\Lab03\Code\Dotp64:
(a)
rts6400.lib
(b)
dotp.c
(c)
lnk.cmd
(d)
vectors.asm
(2) Create a new project (Dotp64):
(a)
Start CCS.
(b)
Create a new project as shown on the following slide.
43
Note: When you type in the Project Name a directory is created in the Location.
44
45
46
47
CCS menu
48
49
50
51
52
53
54
55
56
done by:
57
Profiling
58
59
60
61
\Links\spru327c.pdf
Chapter 3
Code Composer Studio and the DSK
- End -