Part Number:TMS320C6678
问:
如何在 C6678 EVM 上构建和运行平台测试?
Cherry Zhou:
答:
如何在 C6678EVM 上构建和运行平台测试?
先决条件:
1.下载并安装“PROCESSOR-SDK-RTOS-C667x06_03_00_106”
来自 https://software-dl.ti.com/processor-sdk-rtos/esd/C667x/latest/index_FDS.html
(请在建议的路径中安装 SDK:C:\ti\)
2.下载并安装 CCS 9.3: https://www.ti.com/tool/download/CCSTUDIO/9.3.0.00012
(请在建议的路径中安装:C:\ti\)
第 1 步:安装后检查 Platform-test 源代码
a) 安装“processor_sdk_rtos_c667x_6_03_00_106”软件包(上述步骤)后,Platform-test 源代码将变为可用。
b)“Platform-Lib”是 Platform-test 的依赖项。
c) Platform-test 和 platform-lib 的源代码位于以下位置
C:\ti\pdk_c667x_2_0_16\packages\ti\platform\evmc6678l\platform_test\src
C:\ti\pdk_c667x_2_0_16\packages\ti\platform\evmc6678l\platform_lib\src
第 2 步:将“Platform test example”导入 CCS 9.3 并重新编译
请按照所附的视频操作并完成以下步骤以便于使用。
a) 将“C:\ti\pdk_c667x_2_0_16\packages\ti\platform\evmc6678l\platform_lib”中的“Platform-Lib”CCS 工程导入 CCS 并重新编译
b) 将“C:\ti\pdk_c667x_2_0_16\packages\ti\platform\evmc6678l\platform_test”中的“Platform-Lib”CCS 工程导入 CCS 并重新编译
(function(id)
{var v = document.getElementById(id);var op = v.style.position, ol = v.style.left, or = v.style.right, fe = [];var nodeLimit = 50;checkVideo = function() {if (!v.canPlayType || v.error) {var bound = 0;while (v.childNodes.length > 0 && bound < nodeLimit) {bound++;if (v.childNodes[0].nodeName != 'SOURCE') {v.parentNode.insertBefore(v.childNodes[0], v);}}v.parentNode.removeChild(v);} else if (v.readyState == 0) {window.setTimeout(checkVideo, 249);}},checkVideoRendered = function() {if (v.networkState == 1 && v.readyState == 4) {v.style.position = op;v.style.left = ol;v.style.right = or;for (var i = 0; i < fe.length; i++) {fe[i].parentNode.removeChild(fe[i]);}} else {window.setTimeout(checkVideoRendered, 249);}}if (navigator.userAgent.indexOf('iPad') == -1 && navigator.userAgent.indexOf('iPhone') == -1 && navigator.userAgent.indexOf('iPod') == -1) {window.setTimeout(checkVideo, 249);}
})('v_d798dad1da404fb69cac8f2f149f1066');第 3 步:在 C6678 EVM 上运行“Platform test”
请按照所附的视频操作并完成以下步骤以便于使用。
打开 CCS
启动 C6678 EVM 的目标配置文件。(如果对此不熟悉,请遵循以下常见问题解答e2e.ti.com/…/faq-tms320c6678-how-to-create-target-configuration-and-do-test-connection-on- c6678-evm
执行“Connect target and run gel file”(如果对此不熟悉,请遵循以下常见问题解答:
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1062598/faq- tms320c6678-how-to-load-and-run-the-gel-file-on-c6678-evm
将out 加载到 C6678 的 core0 中。
按照下面的视频运行并观察输出消息。
(function(id)
{var v = document.getElementById(id);var op = v.style.position, ol = v.style.left, or = v.style.right, fe = [];var nodeLimit = 50;checkVideo = function() {if (!v.canPlayType || v.error) {var bound = 0;while (v.childNodes.length > 0 && bound < nodeLimit) {bound++;if (v.childNodes[0].nodeName != 'SOURCE') {v.parentNode.insertBefore(v.childNodes[0], v);}}v.parentNode.removeChild(v);} else if (v.readyState == 0) {window.setTimeout(checkVideo, 249);}},checkVideoRendered = function() {if (v.networkState == 1 && v.readyState == 4) {v.style.position = op;v.style.left = ol;v.style.right = or;for (var i = 0; i < fe.length; i++) {fe[i].parentNode.removeChild(fe[i]);}} else {window.setTimeout(checkVideoRendered, 249);}}if (navigator.userAgent.indexOf('iPad') == -1 && navigator.userAgent.indexOf('iPhone') == -1 && navigator.userAgent.indexOf('iPod') == -1) {window.setTimeout(checkVideo, 249);}
})('v_ee25b8ef224a4e36baffad0d9c7d57d9');