1.配置问题
与使用CCS 3.3不同,不能从get from IDE自动获取配置信息,必须预先配置。这个通过查看帮助做了如下配置,但不知是否正确,只是能够编译通过。
checkEnvSetup('ccsv4','F2808 eZdsp', 'setup')
1. Checking CCS(Code Composer Studio) version
Required version: 4.1.0
Required for
: Code Generation
Your Version
: 4.2.4
Incompatible version detected. CCS versiondoes not satisfy product requirements!
2. Checking CGT(Texas Instruments C2000 Code Generation Tools) version
Required version: 5.2.1 to 5.2.3
Required for
: Code generation
Your Version
: 5.2.11
Incompatible version detected. CGT versiondoes not satisfy product requirements!
Following environment variables required forcode generation could not be set:
### "C2000_CGT_INSTALLDIR"
3. Checking DSP/BIOS(Real Time Operating System) version
Required version: 5.33.05 to 5.41.09.34
Required for
: Code generation
Your Version
: 5.41.02.14
### Setting environment variable"CCSV4_DSPBIOS_INSTALLDIR" to "D:\Program Files\TexasInstruments\bios_5_41_02_14"
4. Checking XDCTools (eXpress DSP Components) version
Required version: 3.16.02.32 or later
Required for
: Code generation
Your Version
: 3.16.02.32
5. Checking FlashTools (TMS320C2808 Flash APIs) version
Required version: 3.02
Required for
: Flash Programming
Your Version
: 3.02
### Setting environment variable"FLASH_2808_API_INSTALLDIR" to "D:\Program Files\TexasInstruments\sdflash\mydrivers\DSP280x_v3_3\Flash280x_API\Flash2808_API_V302"
还有个XMakefile中也要配置路径
2.生成代码
### Generating code into build folder: D:\Project\MATLAB\2808\led8_round_ticcs
### Invoking Target Language Compiler on led8_round.rtw
### Using System Target File: D:\Program Files\MATLAB\R2011b\toolbox\idelink\foundation\pjtgenerator\rtw\idelink_ert.tlc
### Loading TLC function libraries
....
### Caching model source code
...............................
### Writing header file led8_round.h
.
### Writing header file led8_round_types.h
### Writing header file rtwtypes.h
### Writing source file led8_round.c
.
### Writing header file led8_round_private.h
### Writing source file led8_round_data.c
.
### Writing source file led8_round_main.c
### TLC code generation complete.
.### Creating makefile: D:\Project\MATLAB\2808\led8_round_ticcs\led8_round.mk
### Makefile creation done.
### Building makefile...
### Build done.
### Downloading program: D:\Project\MATLAB\2808\led8_round_ticcs\led8_round.out
### Download done.
下载完后程序并没有运行,会有一个命令行窗口弹出。内容如下:
"D:/Program Files/Texas Instruments/ccsv4/tools/compiler/C2000/bin/cl2000" -z -I
"D:\\Program Files\\Texas Instruments\\ccsv4\\tools\\compiler\\C2000\\lib" -l"rt
s2800_ml.lib" -c -x -m"led8_round.map" -stack0x200 -o ./DebugMW/led8_round.out .
/derived/DSP280x_CodeStartBranch.obj ./derived/DSP280x_CpuTimers.obj ./derived/D
SP280x_DefaultIsr.obj ./derived/DSP280x_GlobalVariableDefs.obj ./derived/DSP280x
_MemCopy.obj ./derived/DSP280x_PieCtrl.obj ./derived/DSP280x_PieVect.obj ./deriv
ed/DSP280x_SysCtrl.obj ./derived/DSP280x_usDelay.obj ./derived/MW_c28xx_board.ob
j ./derived/MW_c28xx_csl.obj ./derived/led8_round.obj ./derived/led8_round_data.
obj ./derived/led8_round_main.obj ../../../../PROGRA~1/MATLAB/R2011b/toolbox/ide
link/EXTENS~1/ticcs/rtlib/IQmath.lib ./led8_round.cmd
"Evaluating build target..."
"Evaluating execute target..."
"echo" To customize the execute command, clone this configuration
To customize the execute command, clone this configuration
D:\Project\MATLAB\2808\led8_round_ticcs>
3.Flash烧写
选择烧写模式,设置好烧写API的路径后,烧写会报错,但在CCS 3.3中是这样使用的。
4.源代码
CCS 4中不生成工程了,请问源代码还能看到吗?