You are on page 1of 41

http://www.njyxdq.

com

CCS6.0



CCS6.0 ............................................................................................................ 1


CCS6.0 ................................................................................. 2
CCS ................................................................................ 7


2.1 ...................................................................................... 7


2.2 .............................................................................. 8


2.3 ............................................................................................ 11
CCS6.0 ................................................................................... 13


3.1 ................................................................................................ 13
3.2 ................................................................................................ 15


................................................................................................. 15


4.1 CCS3.3 ............................................................................... 15
4.2 CCS ......................................................................... 23


CCS6.0 ............................................................................. 24

5.1 CCS6.0 ............................................................................... 24


5.2 CCS6.0 ............................................................................... 28
CCS6.0 ............................................................ 30
6.1 ................................................................................................ 32
6.2 ................................................................................ 32
6.3 ................................................................ 33
6.4 ............................................................................................ 34
6.5 ................................................................................................ 35
6.6 ........................................................................................ 37
6.7 ........................................................................................ 39

1
http://yanxusmpj.tmall.com

CCS6.0

TI DSP CCSCode Composer Studio


CCS6.0

XDS510PLUS XDS560PLUS CCS6.0


XDS100 V2 CCS4.0
XDS100V3 CCS5.0


360


ccs_setup_6.0.0.00190.exe
1-1

1-1

I accept the terms of the license agreementNext 1-2


2
http://www.njyxdq.com








1-2


Browse


Next 1-3

3
http://yanxusmpj.tmall.com









1-3

Select AllNext


1-4

4
http://www.njyxdq.com

1-4

Select All
Next 1-5








1-5


Finish


1-6 Cancel

5
http://yanxusmpj.tmall.com








1-6


Finish 1-7

1-7

6
http://www.njyxdq.com

CCS

XDS100 V2 CCSV6 CCSV6


USB
PC USB



YX-28335 XDS100 V2


DSP

2.1

CCSv6


C:\Users\<>\Documents C:\Documents and Settings\<


>\My Documents CCSv6


Use this as the
default and do not ask again 2-1-1

2-1-1

2-1-2File->Switch

7
http://yanxusmpj.tmall.com

Workspace->Others(







2-1-2


2.2


CCS CCSv6


CCS CCS SETUP
CCSv6
File ->New->Target Configuration File 2-2-1

8
http://www.njyxdq.com







f28335
2-2-1

xds100 v2 .ccxml Finsh


2-2-2

2-2-2

9
http://yanxusmpj.tmall.com

connection Texas Instruments XDS100v2 USB


Emulator,DeviceTMS320F28335 2-2-3







2-2-3


GEL Save GEL


Target Configuration 2-2-4

2-2-4
C28xx initialization script GEL
Save

10
http://www.njyxdq.com

2.3

View->Target configurations
Set as Default


, Launch Selected Configuration
2-3-1








2-3-1

Run->Connect Target
2-3-2

11
http://yanxusmpj.tmall.com






2-3-2


2-3-3

2-3-3

12
http://www.njyxdq.com

CCS6.0

3.1

File


-> New -> CCS Project->-> CCS 3-1






3-1


Project NameUse default


location


Browse......
Sinewave
Target
Connetion
Finish, 3-2

13
http://yanxusmpj.tmall.com








3-2


C/C++ ProjectsC/C++ (


Window->Show View->Other C/C++->C/C++ Projects
New -> Source File ->

Finish
(.c.C.cpp.c++.asm.s64.s55 )

C/C++ ProjectsC/C++
Add Files to Project
Link Files to Project

14
http://www.njyxdq.com

3.2


Project -> Build Active Project->Rebuild Active Project



4.1 CCS3.3

C/C++ ProjectsC/C++ ( Window->Show View->Other


C/C++->C/C++ ProjectsCCS EditProject->Import


Legacy CCSv3.3 Projects...-> CCS3.3 4-1-1

15
http://yanxusmpj.tmall.com








4-1-1


4-1-2

16
http://www.njyxdq.com











4-1-2

Finish 4-1-3

17
http://yanxusmpj.tmall.com








4-1-3


4-1-4 OK

18
http://www.njyxdq.com








4-1-4


CCS3.3


->Window->Show View->Project Explorer,


Properties) 4-1-5

19
http://yanxusmpj.tmall.com









4-1-5



4-1-6

20
http://www.njyxdq.com








4-1-6


CCS6.0
Workspace 4-1-7



4-1-7

IncludeOK
4-1-8

21
http://yanxusmpj.tmall.com







4-1-8

OK


4-1-9

22
http://www.njyxdq.com

4-1-9

Build Project


4.2 CCS

CCS3.3

workspace
CCS

C/C++ ProjectsC/C++ ( Window->Show View->Other


C/C++->C/C++ ProjectsCCS EditProject->Import


CCS Projects...-> CCS 4-2-1

4-2-1

CCS3.3
OK 4-2-2

23
http://yanxusmpj.tmall.com











4-2-2

Build Project

CCS6.0

5.1 CCS6.0

CCS TMS320F28335

24
http://www.njyxdq.com

TMS320F28335 XDS100V2
XDS100V3CCS Edit
CMD 28335.cmd CMD 28335_RAM_lnk.cmd
CMD 28335.cmd 28335_RAM_lnk.cmd
Build Project


Workspace Debug
.out .out
5-1-1 5-1-2








5-1-1

25
http://yanxusmpj.tmall.com









5-1-2

CMD CCS Debug


Run->Load->Load Program 5-1-3

26
http://www.njyxdq.com








5-1-3


5-1-4

5-1-4

5-1-5

27
http://yanxusmpj.tmall.com









5-1-5


5.2 CCS6.0

Debug .map 5-2-1

28
http://www.njyxdq.com








5-2-1


used unused 0 08

CCS6.0 CMD


28335_RAM_lnk.cmd CMD 28335.cmd CMD
28335.cmd 28335_RAM_lnk.cmd
Build Project
Workspace Debug
.out .out

29
http://yanxusmpj.tmall.com

CCS6.0

CCS6.0

ViewToolsWindow->Show View

6-16-26-3










6-1

30
http://www.njyxdq.com







6-2

6-3

31
http://yanxusmpj.tmall.com

6.1


.OUT
main()


MSP430F28x Stellaris


Tools -> On-chip Flash->


CCS Debug
main()


/CCS Debug



Target
View->Console


GEL


6.2

VariablesExpressionsRegisters
6-2-2 6-2-3

6-2-2

32
http://www.njyxdq.com



6-2-3

: F2833x


6.3

View ->Disassembly
-> 6-3-1 :

6-3-1

33
http://yanxusmpj.tmall.com


Disassembly
View Source, 6-3-2










6-3-2

6.4

View -> Memory Browser
->

PC
6-4-1

34
http://www.njyxdq.com







6-4-1

: volatile short output[16]

6.5

CCSv6
6-5-1

35
http://yanxusmpj.tmall.com







6-5-1


IDE


I/O


C
6-5-2

36
http://www.njyxdq.com

6-5-2

Breakpoint
Properties......
Action


Skip Count

Group

6.6


CCSv6



Tools -> Graph ->

Single TimeDual Time


FFT


, 6-6-1

6-6-1

X
Y

:
Breakpoint
Properties......

37
http://yanxusmpj.tmall.com

ActionRefresh All Windows

output[] 16
Tools -> Graph -> Single Time -> ->
6-6-2







6-6-2


Run -> Resume -> 16



output Watch


New output
16 Q Watch


Q-values -> Q-value(15)Q ->
Q (15) 6-6-3

6-6-3

38
http://www.njyxdq.com

6.7

Tools -> Image ->


ImageProperties
CCSv6 PC

Image source File
Connected Device


:

View -> Memory Broswer ->
0xC0000000

<sample_24bpp.dat> 0xC0000000
LoadNext
C:\Program Files\Texas Instruments\ccsv6\c6000\examples


Type-size 32



6-7-1

39
http://yanxusmpj.tmall.com








6-7-1

ImageRefresh


6-7-2

6-7-2

40
http://www.njyxdq.com

41

You might also like