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 flash use

when i use this "DL_FlashCTL_programMemoryFromRAM8WithECCGenerated()" fuction ,it doesn't save in theROM . if i start the program again will lose the previously saved . which function can make the data in ROM?

  • Hi Ru,

    What section of memory are you trying to write to?

    I recommend using the flashctrl_program_with_ecc example in the SDK. If you're programming the main memory, check your debug settings in CCS. Right click the project and go to project properties, then Debug, MSPM0 Flash Settings.

    If you have the erase Main Memory only, it will erase the main memory when reprogramming. You can change this to erase only specific sections of memory using the 'Erase Main Memory by sectors'

    Regards,
    Luke