AnsweredAssumed Answered

Writing/reading to/from non-volatile memory MC9S12XF512

Question asked by Thomas Belekokia on Dec 30, 2013
Latest reply on Jan 2, 2014 by ZhangJennie

hi,

i'm using  MC9S12XF512 devices, trying to store small piece of data in non-volatile memory.

tried to adapt code for different devices but the most i could achieve is to store/read data in debug mode.

no success when not in a debug mode.

 

basically the idea is to start running running a device and once a switch is ON, store a byte of data in a non-volatile mem. Then power cycle, check memory, data is safely written in the memory.

 

perhaps there are people who have done it hundreds of times, so an idea/advice would be very helpful.

Outcomes