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-MSPM0L1306: "Error -6305: PRSC module failed to write to a router register" after successful factory reset

Part Number: LP-MSPM0L1306
Other Parts Discussed in Thread: MSPM0L1306, SYSCONFIG

I manipulated the NONMAIN for my application. Afterwards I performed a successful factory reset via method 1 according to the "6135.Unlock MSPM0.pptx" guide. When I try to reprogramm the device I get an "CORTEX_M0P: Error connecting to the target: (Error -6305) PRSC module failed to write to a router register. (Emulation package 9.13.0.00201) ". I try to programm the "gpio_toggle_output_LP_MSPM0L1306_nortos_ticlang" example project with CCS.

8032.Unlock MSPM0.pptx

  • Hello Daniel,

    Is this on the launchpad or a custom board?  

    Are you still able to go through the Factory Reset process successfully?  

    What did you modify in the NONMAIN?  Did you configure it through sysconfig and how did you program it?

    I recently saw this error on a board but a factory reset fixed it for me.   I have seen other threads mentioning that this error can be cause by hardware/programming circuit issues as well so that's something we should double check if a custom board.  

    Thanks,

    JD

  • Hi JD,

    I'm sorry that I'm only getting back to you now. I am using the launchpad. I have modified the NONMAIN to disable the BSL, debug access and mass erase. As far as I can tell, the factory reset was completed successfully.

  • Hey Daniel,

    So have you never been able to re-gain access to the device?  

    Thanks,

    JD

  • Hi JD,

    no unfortunately not.

    Daniel

  • Hey Daniel,

    You can obviously try the factory reset or a mass erase again, but if that doesn't work, it's probable that you locked yourself out of the device somehow.  

    Usually if you leave debug access enabled but disable Factory reset in the NONMAIN, the software tools like CCS don't give you an error when you try to erase everything.  The programmer still successfully give all the factory reset commands, the MCU just doesn't act on them. 

    I'm not sure what exactly happened in this case, but when working with NONMAIN, it is fairly common to brick an occasional device.  I think you just have to replace it.  

    Thanks,

    JD