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.

CODECOMPOSER: MSPM0G3107 writing nonmain section via XDS Debugger

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

Tool/software:

Hi 

since i currently have issues with my jlink probe i have switched to the XDS programmer on the LP-MSPM0G3507 connected to my external target. 

I have a binary that contains non default contents for the Nonmain section; while with the jlink probe it works seemlessly to erase the nonmain section and then overwrite it when starting a debug session with the XDS probe this is not the case i also can not seem to find a setting to change that. Instead i am getting 

The same is true when attempting to "just production flash" using uniflash -- where that same error would come up but there atleast a setting is available to do a mass erase of multiple sections (nonmain included) and then do the programming in another step afterwards

It strikes me as odd that (while the jlink probe is not perfect) the 3rd party (jlink) probe works more seemlessly than your own 1st party solution... 

  • Hi Marc,

    In the debug settings, by default the debugger will only erase the main flash in order to avoid any accidental erasure of NONMAIN. The warning you're getting is letting you know that NONMAIN was never erased.

    In the project properties you can change the setting to erase main and nonmain flash.

    Similar setting in uniflash

    Regards,
    Luke

  • one has to save and close the properties dialog after switching the debug probe and then reenter to get that submenu populated... that is why i could not find that...