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: CCS Theia 1.5.1 - Sysconfig - Configuration NVM - Error, Attempting NONMAIN write without erasing!

Part Number: MSPM0G3507

Tool/software:

Hello dear TI-Experts!

I'm facing issues when trying to deactivate BSL in syscfg.

It seems like the "save and close" in my project properties is not executed correctly. Or anything else goes wrong.

To change things in the NVM I have to change the "Erase method" in "project properties" - "Debug" - "MSPM0 Flash Settings" to "Erase MAIN and NONMAIN necessary sectors only (see warning above)"

But I always (when trying to flash/debug my code to the controller) end up with the error message:

Fullscreen
1
2
File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing!
GEL: File: C:\Users\M****I\AppData\Local\Temp\ti_cloud_storage\wi****ft.out: Load failed.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Even though the "Erase MAIN and NONMAIN necessary sectors only (see warning above)" is checked!

Sometimes, when I freshly import an example project or freshly checkout a commit from my custom code repository I am ONCE able to flash/debug my code.

But when I terminate the debug session and try to flash/debug the code again I always get the error message.

I also tried and carried out factory reset to my controller. I always end up with the same error message.

Is there any known error about the (new) CCS Theia project properties?

Is there maybe some wrong directory that results in alyways using some default project properties?

Or am I missing any point and making any mistake!

I am very desperate! Please help me!

If you need any more information from me, please let me know!

Thanks a lot in advance!

Matze