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.

MSPM0C1103-Q1: LP-MSPM0C1104: MSPM0C1003 with CCS "error connecting to the target"

Part Number: MSPM0C1103-Q1
Other Parts Discussed in Thread: MSPM0C1103

Tool/software:

Hello TI Team,

I am trying to use MSPM0C1103 device along with CCS 20.2.0.00012 I am getting following error.

Error connecting to the target:  Connection to MSPM0 core failed.  Possible root causes: 1) Debug access within NONMAIN was disabled or enabled with password. 2) Peripheral mis-configuration (e.g improper watchdog or clock).  To see a more detailed diagnostic of the issue, please press the 'Read boot diagnostic' button.

Are there any specific steps to resolve for this Launchpad?

Thanks & Regards,

Ramalingam.P

  • Hello Ramalingam,

    Firstly, check your hardware connection, including VDD, GND, SWDIO, SWCLK.

    Then try to do factory reset through CCS, notice that doing factory reset need RST connecting 

    If factory reset can't resolve it, please try to do boot diagnostic

    You can refer to below slides:

    0116.MSPM0_Unlock device_M0 deep dive.pptx

  • Hi Ramalingam,

    This can often happen if the device is put into an unknown state while debugging. You can try to perform a factory reset to recover the device.

    1. Connect your device/debugger to your computer.
    2. In CCS, locate the .ccxml file under TargetConfigs
    3. Right-click on the file and select Start Project-Less Debug
    4. At the top of the window, click on Scripts > MSPM0C1103_Commands > MSPM0_Mailbox_FactoryReset_Manual
    5. In the GEL Output window that appears, wait for it to prompt you to press the reset button, then reset the device by either pressing the reset button or pulling NRST low.
    6. Once that has completed follow the instructions: Factory Reset executed. Please terminate debug session, power-cycle and restart debug session.

    You should now be able to connect your device/debugger back to your computer and attempt to flash the device normally. Please let me know if this works.

    Best,

    Owen