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.

MSPM0G3507: Program Not Retained After Power Cycle

Part Number: MSPM0G3507

Tool/software:

Hello,

I am using the MSPM0G3507 microcontroller and CCS Theia IDE for my project. I have successfully flashed my program to the microcontroller, and it runs correctly when I start a debug session. However, when I power cycle the microcontroller, the program does not start automatically.

Steps Taken:

  1. Flashing the Program:

    • Used CCS Theia IDE to compile and flash the program.
    • Verified the program runs correctly during a debug session.
  2. Power Cycle Issue:

    • After cutting the power and powering the microcontroller again, the program does not start.

Thanks & Regards,
Krushna

  • Hi Krushna,

    Maybe the device enter the bsl mode.

    Could you check PA18 status during your power up process? You can connect PA18 to GND, and see whether this issues insist.

    B.R.

    Sal

  • Hi Sal Ye,
           I am using MSPM0G3507SRHBR which is placed on PCB & in our circuit we are considering PA18 as an input pin.

  • Maybe the device enter the bsl mode.

    is there any way I can force the mcu to not enter into bsl mode?

    best regards,
    Krushna T

  • Could you check PA18 status during your power up process? You can connect PA18 to GND, and see whether this issues insist.

    when I connect PA18 to the GND the program has been retained successfully after the power cycle, but we want to do this by software or else we can program mcu to invoke bsl
    I will need your assistance for this.

    Best Regards,
    Krushna T.

  • Hi Krushna,

    sorry for late response, I am out of office in these days.

    but we want to do this by software or else we can program mcu to invoke bsl

    Yes, this could definitely do by setting MCU NONMAIN Flash setting.

    Please be careful when you want to operate NONMAIN Flash, read the description and note in the TRM:

    I will recommend you using sysconifg to generate NONMIAN firmware:

    B.R.

    Sal