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.

MSPM0L1228: write NONMAIN

Part Number: MSPM0L1228

Tool/software:

Hi

Previously, I was advised that it would be better to write NONMAIN and MAIN separately.

Does this mean that if I write only NONMAIN, I can always rewrite it even if it fails?

Thank you.

  • Hi Sho,

    Does this mean that if I write only NONMAIN, I can always rewrite it even if it fails?

    Nope, it can help you avoid that failing to write MAIN will not cuase NONMAIN empty issue. If you simultaneously write them both, MAIN writing issue also will cause NONMAIN empty issue.

    Due to the NONMAIN firmware is actually much smaller than MAIN firmware, so this could help reduce the risk of NONMAIN empty issue. But if you failed write to NONMAIN, then the device will be locked.

    B.R.

    Sal

  • Hi,

    Thank you your reply.

    Is my understandinf correct?

    When change NONMAIN, device lock due to failure is unavoidable.
    ・To minimize this risk, separete the writing of MAIN and NOMAIN.

  • Hi Sho,

    When change NONMAIN, device lock due to failure is unavoidable.

    Yes, it is unaviodable. Meanwhile, if you could use SWD to connect the device without any reset after the failure and load the new data again, I suppose it could normally work.

    -> While, for this, I think currently there is no official method to achieve this. Let me give the guess to my team experts and check his comments. 

    ・To minimize this risk, separete the writing of MAIN and NOMAIN.

    Yes, it is more safe.

    -> Also, I should check whether there could be an update with our tools that we could always load the NONMAIN to the device firstly, and load MAIN firmware to the device secondly. If it could, then there is no need for seperaterly load the MAIN and NONMAIN.

    I will feedback if I get any update, I suspect it will take much time.

    Anyway, currently this is the safest way.

    B.R.

    Sal