我在EDA360实验室看到了这篇帖子,步骤非常全《Matlab+DSP开发(CCSLink)入门级教程系列之CCSLINK的环境搭建》但是自己操作时遇到了问题,现求解答。QQ1245168779
我采用MATLAB2010b和CCS v3.3,所用仿真器为C2000 LAUNCHXL-F28027,在CCS Setup中应选用什么型号的器件?之前选用的F28027 XDS100 USB Emulator,在 MATLAB中输入命令
Ccsboardinfo
得:
Board Board Proc Processor Processor
Num Name Num Name Type
--- ---------------------------------- --- ---------------------------------- --------------
0 F28027 Device Simulator 0 CPU TMS320C28xx
另,我所用仿真器没有开关,USB接口插上即上电。
MATLAB中输入命令
checkEnvSetup('ccs','f28027')
得:
1. Checking CCS (Code Composer Studio) version
Required version: 3.3.82.13
Required by : Embedded IDE Link 4.2
Required for : Automation and Code Generation
Your Version : 3.3.82.13
2. Checking CGT (Texas Instruments C2000 Code Generation Tools) version
Required version: 5.2.1
Required by : Embedded IDE Link 4.2
Required for : Code generation
Your Version : 5.2.1
3. Checking DSP/BIOS (Real Time Operating System) version
Required version: 5.33.05
Required by : Embedded IDE Link 4.2
Required for : Real-Time Data Exchange (RTDX)
Your Version : 5.33.05
4. Checking 2802x C/C++ Header Files version
Required version: 1.00
Required by : Embedded IDE Link 4.2
Required for : Code generation
跳出对话框,指引选择安装路径,头文件sprc832.zip已安装,但指引至头文件安装文件夹后弹出如下对话框:
头文件中怎么会出现txt文件呢?
取消后出现
Warning: Installation directory for 2802x C/C++ Header Files is invalid.
> In D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>updateInstallDir at 531
In D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>envSetup at 269
In D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>checkEnvSetup_private at 68
In checkEnvSetup at 131
Your Version :
Incompatible version detected. 2802x C/C++ Header Files version does not satisfy product requirements!
Following environment variables required for code generation could not be set:
### "DSP2802x_INSTALLDIR"
5. Checking Flash Tools (TMS320F2802x Piccolo(TM) Flash API) version
Required version: 1.00
Required by : Target Support Package 4.2
Required for : Flash Programming
再次跳出对话框,指引选择安装路径,Flash文件setup_tif2802x_v1_0已安装,但指引至Flash文件安装文件夹后出现
Warning: Installation directory for Flash Tools is invalid.
> In D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>updateInstallDir at 531
In D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>envSetup at 269
In D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>checkEnvSetup_private at 68
In checkEnvSetup at 131
Your Version :
Incompatible version detected. Flash Tools version does not satisfy product requirements!
Following environment variables required for code generation could not be set:
### "FLASH_2802X_API_INSTALLDIR"
这是要找什么啊?
描述罗嗦了点,请见谅。
切盼回复,谢谢!