This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
错误显示如图所示,请问如何解决?谢谢。(虽然显示错误,但程序能够正常下载、执行)
好像GEL文件有问题,因为现在的信息非常有限,请您提供您的测试平台(启动板或您自己的主板),连接方法(调试器: XDS110等),项目和SDK版本给我们吗? 我的建议是,您可以首先尝试重新安装SDK并重新导入项目。
CCS 20附带的更新GEL文件进行了检查,以查看所使用的调试探针是否为XDS:
/* * Called after the parent router is connected, but before the target is connected. */ OnPreTargetConnect() { if (GEL_MatchesConnection("xds")) { if (GEL_GetBoolDebugProperty("EnableWaitForDebug") == 1) { MSPM0_ResetCtl_WaitForDebug(); GEL_EvalOnTarget("CS_DAP_0", "PWRAP_DPREC0 = 0x00120008", 0); } } }
CCS 12.8中的一个没有此检查:
/* * Called after the parent router is connected, but before the target is connected. */ OnPreTargetConnect() { if(GEL_GetBoolDebugProperty("EnableWaitForDebug") == 1){ MSPM0_ResetCtl_WaitForDebug(); GEL_EvalOnTarget("CS_DAP_0", "PWRAP_DPREC0 = 0x00120008", 0); } }
显然,如果使用XDS调试探测器,其目的是运行上述程序。
调试器使用的是jlink
由于未使用XDS调试探测器,因此调用失败。