The second post in this thread states.....
The new command AEFSKIPERASING has been created to specify non volatile memory blocks
to protect from mass erasing at application loading.
The command should be placed in a "Startup" command file
But now you say it goes in the preload file ??
I am confused !
I think i've tried it in both anyway - but i'am not sure. If it does go in the preload file, does it need to go in any order ?
This is what is in my preload file now..
// Before load the commands written below will be executed
// The following commands must be enabled to load in flash with the ICD12.
// reset the device to get default settings
RESET
// initialize flash programming process
FLASH
// select the flash modules
FLASH SELECT 1-8
FLASH
// erase the flash modules
FLASH ERASE
// arm the flash for programming
FLASH ARM
I changed the 'FLASH SELECT' to be 'FLASH SELECT 1-8' in the hope that this would stop the erasing of the EEPROM
Thanks
Andy