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.

TM4C129XNCZAD: Inquiry on debugging TM4C129XNCZAD with SWD interface

Part Number: TM4C129XNCZAD

Hi all,

I have recently custom made a PCB with TM4C129XNCZAD.

I am trying to flash a firmware image through SWD interface.

As a debugger, I am using XDS110 and CCS version is 12.4 version.

When I tred to load the image i got the following error.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-615' (0xfffffd99).
The title is 'SC_ERR_SWD_PROTOCOL'.

The explanation is:
The target failed to see a correctly formatted SWD header. The
connection to the target may be unreliable. Try lowering the
TCLK setting before trying again.

[End: Texas Instruments XDS110 USB Debug Probe_0]

I did read some reference on the forums

CC3220MODA: Can't connect via SWD, error SC_ERR_SWD_PROTOCOL -615 - Wi-Fi forum - Wi-Fi - TI E2E support forums

In the forum, they says that the error is due to MCU which is locked. and they provided solution using UART.

In my case, I currently can access the SWD interface. is it possible to unlock the MCU by SWD? 

Do I have to unlock the device by using all 4pins of JTAG ?

Any advice will be very helpful.

Kind regards,

Jean