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.

LP-MSPM0G3507: Factory Reset Fail

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: UNIFLASH

Hello E2E Experts,

Good day.

I used UniFlash and selected “Erase MAIN and NONMAIN memory (see warning above)” to flash the code (secondary BSL CAN), but an error occurred halfway through the flashing process. When I tried the factory reset manual procedure, pressing the reset button had no reaction.

log:
[2025/11/13 6:26:28] [INFO] CS_DAP_0: GEL Output: Initiating Device Factory Reset

[2025/11/13 6:26:28] [INFO] CS_DAP_0: GEL Output: Attempting CS_DAP connection

[2025/11/13 6:26:28] [INFO] CS_DAP_0: GEL Output: Attempting SEC_AP connection

[2025/11/13 6:26:28] [INFO] CS_DAP_0: GEL Output: Command Sent

[2025/11/13 6:26:29] [INFO] CS_DAP_0: GEL Output: Press the reset button...

My questions are:

  1. If the NONMAIN region is programmed incorrectly, can it cause the device to brick? Since the ROM wasn’t modified, shouldn’t the factory reset still work?

  2. In the current situation, SWD still responds. Does that mean the device should still be recoverable?

Regards,

TICSC

  • Hi TICSC,

    1. If the NON-main is erased then you wouldn't be able to access the chip, as the non-main contains the boot configuration. NONMAIN takes effect if the chip goes through the BOOTRST processes (typically caused by a power-cycle or a software reset which explicitly invokes a POR or BOR condition). If NONMAIN is programmed incorrectly then you can brick the device.
      1. On the factory reset process did it hang after the reset request? Were you able to power cycle the device and re-program the device?
      2. Try to program a simple example, gpio_output_toggle, after the factory reset.
    2. If you are able to access the device with SWD then I would believe you can recover the device, but you'd need to be able to access the device, not simply connect.