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.

TMS570LC4357: TMS570LC4357 Locked - Uniflash/CCS Fails to Connect (Error -241)

Part Number: TMS570LC4357
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Device & Tools:

  • Device: TMS570LC4357

  • Debug Probe: XDS100

  • Software: Code Composer Studio (CCS), Uniflash

Problem Description:

My custom TMS570LC4357 board initially worked fine. I was able to flash and run programs successfully.

However, after one particular run, the program stopped executing. A power cycle did not help. I suspect the issue might be related to an unstable reset signal, but this is just a guess.

Now, I am unable to connect to my TMS570LC4357 coutomize board using both CCS and Uniflash. The connection attempt consistently fails and returns the following error:

Dap: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 20.0.0.3178)

I have tried to resolve this issue by following the standard procedures for unlocking TI devices, but without success.

  1. Using Code Composer Studio (CCS): I have reviewed the Debug Configurations settings but could not find a clear option to "Unlock Device" or "Clear Security." The standard debug connection attempts fail with the error message above.

  2. Using Uniflash:I have installed Uniflash and selected my device (TMS570LC4357) and debug probe (XDS100). I tried to program, but the software fails to establish a connection with the device and the error was the same. I did not find any specific "Unlock" button or menu option in the graphical interface.