请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC2745R10-Q1工具/软件:
问题:
尝试使用 CCS 20.3.0 刷写或调试 CC27XX 时、会报告以下错误:
Cortex_M33_0: Flash loader: CC23xx_CC27xx_FLASH_LIBRARY_VERSION 4.1.0.141
GEL: Error while executing OnPreTargetConnect(): Secure Debug Manager library not loaded!
at GEL_LoadSecureDebugManager()
at GEL_EvalOnTarget("CS_DAP_0", "GEL_LoadSecureDebugManager()") [cc23xx_xds.gel:81]
at OnPreTargetConnect()
Error connecting to the target: (Error -2001 - (0:20:0)) Internal error: Invalid parameter passed to function. Restart the application. If error persists, please report the error. (Emulation package 20.3.0.3656)
GEL: Error while executing OnRestart( 0 ): Connect failed
at GEL_Connect() [cc23xx_connect_util.gel:41]
at ConnectIfDisconnected() [cc23xx_xds.gel:101]
at OnRestart(0)
AutoRun: Unable to run the target at this time
AutoRun: Target not run as breakpoint could not be set: Cannot enable while the target is disconnected
Target is not connected
这是因为此版本的 CCS 中包含的安全调试管理器 dll 缺少某些依赖项。
修复:
e2e.ti.com/.../SecureDebugManagerCC27_5F00_win.zip
下载 zip 文件、解压缩并替换中的内容 /ccs/ccs_base/DebugServer/bin/sdm