Peter Geissen

mcf 5223 initializing non volatile register  with values from non volatile memory

Discussion created by Peter Geissen on May 18, 2011
Latest reply on May 23, 2011 by Jim Donelson

Hey guys ihave a question about saving data to flash memory.


In my task i define variables


#define var1 (*(vuint8 *)(0x8002))


after that  i want to load var1 with values from the flash memory


const var1fl = 0xFF;


var1 = var1fl ;


please could someone tell me if i am on the right way ?