Hi, I use the LP-MSPM0G3507 evaluation board and check the sample source "flashctl_multiple_size_write" in SDK(mspm0_sdk_0_58_00_00_eng.
It works well and I can confirm the written data on the flash memory by the memory browser on CCS.
I want to check that programmed data on the flash is remained after eva board is power down or program is reloaded again on CCS.
I removed in the source at the first section that erase memory shown below.
gCmdStatus = DL_FlashCTL_eraseMemoryFromRAM(
FLASHCTL, MAIN_BASE_ADDRESS, DL_FLASHCTL_COMMAND_SIZE_SECTOR);
if (gCmdStatus == DL_FLASHCTL_COMMAND_STATUS_FAILED) {
/* If command was not successful, set a breakpoint */
__BKPT(0);
}
I run again changed program, stop and reload program again on CCS. But I couldn't find the written data in the flash memory. . (All data is "FFFF FFFF")
How can I remain the written data in the flash memory on eva board after reload program in CCS or eva board power off?