hi there
we have a problem storing variables in the flash of our S12XE100, we do not have any idea how we could achieve it. So Im asking, is there any easy way to save variables non-volatile, like a loader instruction or so? Do we really have to implement the complex way with formating and Emulated EEPROM and stuff? Can you please show us some easy to implement way, perhabs with some code snippets?
Thanks for your time
Regards
toebsen
Yes, you need to use emulated EEPROM or come up with an erase/programme scheme for Dflash. Also be aware of what will happen if the power is shut off during a write cycle.
James