Thanks for the help. The problem may happen on the 'save' settings.
I checked the devices.dat file that has been changed a lot.
We'll ask for the file.
Do you have the IDE, or just the command line compiler?.
If you have the IDE, select 'tools', 'Device editor'. Then choose the processor, and go to the tab 'memory'. It is incorrectly set to 23768 wo ...