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.

MSPM0G3518: [MSPM0G3518] DAP Connection Error (Error -6305) on Custom ECU Board

Part Number: MSPM0G3518

Hello TI Support Team,

I am attempting to debug and flash firmware onto an MSPM0G3518 microcontroller which is integrated into a custom ECU. I am using MSPM0G3518 (VQFN-32_RHB32) and the XDS110 USB Debug Probe via Code Composer Studio (CCS) and am currently facing a DAP connection error that prevents me from connecting or flashing the device.

The Error Message:
"Texas Instruments XDS110 USB Debug Probe/CS_DAP_0 Error connecting to the target: DAP Connection Error. This could be caused by the device having gone to low power mode. Try forcing an external reset. If the error persists, try forcing BSL, a Mass erase or a Factory Reset. Check device FAQs for more information."

Troubleshooting Steps Taken (What I Tried):

I attempted to force the device into BSL mode by locating and manipulating the RESET and PA18 pins on the MCU package, using the following sequence:

  1. Pull PA18 Low (to GND).

  2. Pulse RESET (Low then High).

  3. Release PA18.

  4. Erase MAIN, DATA, and NONMAIN memory.

Could you please advise on the next steps? Specifically:

  • Does this combination of errors (DAP Connection Error and -6305) strongly suggest the device is in a secure locked-out state (SWD disabled)?

  • Are there any known clock or power-up timing issues specific to the MSPM0G3518 that I might be overlooking on a custom board?

  • What is the recommended hardware procedure for a Mass Erase or Factory Reset on the MSPM0G3518 using the XDS110?

Thank you for your assistance.

Best regards,

Mohamed