C6678开发板配置及上手指南
作者:刘雪豪
CCS环境配置篇
第一步:
The Emulation service release updates can be installed on the top of the specified CCS baseline release.
Update Installation Steps 1. Install CCS 2. Copy file TIXDS2XXUSB_onboard_Connection.xml to the directory your_CCS_install_dir/ccsv5/ccs_base/common/targetdb/connections 3. Make sure the CCS is closed
4. Make sure the emulation is not connected 5. install ti_emupack_5.0.838.0
6. Install ti_emupack_keystone1_1.0.6.0 for the appropriate platforms
第二步:
Steps to update GELs for C66x EVMs ----------------------------------
1: There are two GEL files provided in this directory evmc6670l.gel and evmc6678l.gel
2: These GEL files needs to be copied to CCS installation
3: The following steps will assume the CCS is installed in
4: Close the CCS if open
5:Replace the GEL file present in the
用光盘中program_evm/gel下的文件替换。
6:Replace the GEL file present in the
第三步:
安装光盘中的bios_mcsdk
第四步:
安装光盘中的usb驱动
CCS编程Helloworld篇
注意事项:
1,仿真器版本只能用XDS100V1,用V2会出现cable break 的错误 2,工程中要添加cmd文件,目录为
BIOS_MCSDK\\pdk_C6670_1_1_2_6\\packages\\ti\\platform\\evmc6670l\\platform_test
3,给cpu添加gel文件。在工程目录下.ccxml文件中给特定的cpu核添加evmc6678l.gel。
CCS编程debug篇
1,debug程序时,出现
[C66xx_0] Timeout waiting for reply from PA to Pa_addMac command
[C66xx_0] ti.sysbios.heaps.HeapMem: line 354: assertion failure: A_invalidFree: Invalid free
[C66xx_0] xdc.runtime.Error.raise: terminating execution
错误可以尝试如下解决方法:
1. pause the core(s) running the code 2. Do a system reset
3. Run global default setup from the GEL script 4. reload and re-run your program
This will do a SOC reset in-between runs. Without doing an SOC reset, the next program run will take on the previously-initialized hardware settings.