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.

MSPM0G3107-Q1: Problem connecting to target MCU using Jlink probe

Part Number: MSPM0G3107-Q1
Other Parts Discussed in Thread: MSPM0G3107, SEGGER, UNIFLASH, MSPM0G3507

Tool/software:

Hi,

I have recently used J-flash lite software along with a Jlink Base debug probe in order to flash my MCU "MSPM0G3107".

In order to test the probe I quickly created an empty project on Code Composer Studio and flashed the hex file onto the microcontroller. The program download was successful as was indicated on J-Flash Lite but the problem is that I have not been able to flash the MCU anymore and the probe couldn't establish connection with the target anymore. I suspect that the issue originates in the empty project code example which consists of an infinite loop. I tried some troubleshoot fixes proposed on Segger wiki page : https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU but nothing seems to work out.

Does anyone have any relevant solution to this problem?

Thank you.

  • Hi Zakaria,

    Do you have access to the NRST and BSL invoke pin (default PA18 for BSL invoke)?

    If you do, hold the NRST line and BSL invoke pin, then when the j-link goes to flash the device release NRST then BSL. This will cause the device to go into BSL mode where it will provide some time the device can connect and flash. This process will happen before the device runs into your infinite loop in the main.

    Regards,
    Luke

  • Hello Luke,

    Thank you for the support. I have solved the problem by using UniFlash to  perform a factory reset. I connected to the MCU through the MSPM0G3507 Launchpad since I couldn't do it with the Jlink debug probe.



    Regards.

    Zakaria.