《C6678开发板配置及上手指南.doc》由会员分享,可在线阅读,更多相关《C6678开发板配置及上手指南.doc(2页珍藏版)》请在金锄头文库上搜索。
1、C6678开发板配置及上手指南作者:刘雪豪CCS环境配置篇第一步:The Emulation service release updates can be installed on the top of the specified CCS baseline release. Update Installation Steps1. Install CCS2. Copy file TIXDS2XXUSB_onboard_Connection.xml to the directory your_CCS_install_dir/ccsv5/ccs_base/common/targetdb/connec
2、tions3. Make sure the CCS is closed4. Make sure the emulation is not connected5. install ti_emupack_5.0.838.06. 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.g
3、el2: These GEL files needs to be copied to CCS installation3: The following steps will assume the CCS is installed in (which is typically C:Program FilesTexas Instrumentsccsv5 for Windows XP and /ti/ccsv5)4: Close the CCS if open5:Replace the GEL file present in the /ccs_base/emulation/boards/evmc66
4、70l/gel directory with the evmc6670l.gel file present in this directory,用光盘中program_evm/gel下的文件替换。6:Replace the GEL file present in the /ccs_base/emulation/boards/evmc6678l/gel directory with the evmc6678l.gel file present in this directory用光盘中program_evm/gel下的文件替换。第三步:安装光盘中的bios_mcsdk第四步:安装光盘中的usb驱
5、动CCS编程Helloworld篇注意事项:1,仿真器版本只能用XDS100V1,用V2会出现cable break 的错误2,工程中要添加cmd文件,目录为BIOS_MCSDKpdk_C6670_1_1_2_6packagestiplatformevmc6670lplatform_test3,给cpu添加gel文件。在工程目录下.ccxml文件中给特定的cpu核添加evmc6678l.gel。CCS编程debug篇1,debug程序时,出现C66xx_0 Timeout waiting for reply from PA to Pa_addMac commandC66xx_0 ti.sysb
6、ios.heaps.HeapMem: line 354: assertion failure: A_invalidFree: Invalid freeC66xx_0 xdc.runtime.Error.raise: terminating execution错误可以尝试如下解决方法:1. pause the core(s) running the code2. Do a system reset3. Run global default setup from the GEL script4. reload and re-run your programThis 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.