Tool/software:
Issue:
When trying to flash or debug a CC27XX using CCS 20.3.0, the following error is reported:
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
This is due to the Secure Debug Manager dll included in this version of CCS is missing some dependencies.
Fix:
SecureDebugManagerCC27_win.zip
Download the zip file, extract it and replace the content at <ccs_install>/ccs/ccs_base/DebugServer/bin/sdm/