Hi,
I'd like to save some data of my application in the flash memory of MC9S08SH8.
The user of application should be able to choose a new value while the application is running and the application should be able to keep this data in the non-volatile memory.
Is there any example of how to save data in the flash memory (as an EEPROM)?
Thank you, in advance.
Hello,
If you search this forum, you should find numerous examples of programming non-volatile data to a flash block, from within an application. This is a very frequent request. The datasheet for the device details the erase amd programming algorithms used, and provides flow diagrams.
Some basics to keep in mind -
Regards,
Mac