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.

CCSTUDIO: CCSTUDIO

Part Number: CCSTUDIO
Other Parts Discussed in Thread: MSPM0G3507

Tool/software:

Has been working fine then out of nowhere..

File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing!
GEL: File: /var/folders/sd/343wq5710mj28dylp3tnsb4h0000gq/T/ti_cloud_storage/gpio_toggle_output_LP_MSPM0G3507_nortos_gcc.out: Load failed.

And see attached.

Regards

Phil

flash1.tiff

  • Phil,

    Based on the error message, the program you are loading is writing to NONMAIN memory. In this case, you will need to change the erase method to erase the NONMAIN memory sections as well.

    In CCS, you can access the flash settings via the 'Tools -> On-Chip Flash' menu. This is how the Erase settings look (defaults to only erase MAIN memory):

    As noted in the dialog, please make sure to read the MSPM0 documentation to make sure you are modifying NONMAIN memory correctly before erasing it.

    Thanks,

    Ricky