I want to store some text strings in the nonvolatile memory of MC9S08JM32, so that the next time when I reset/power-off-on the microcontroller, the text strings are still there and not erased. How can I do that?
Do I have to store the text strings in flash program memory? How?
Please advise.. thanks.
Hello,
It depends on whether your string data is known at compile time, and remains constant, or whether the data needs to be altered during the operation of the program. Your post is not clear in this respect.
Peg's response refers to the latter alternative.
Regards,
Mac
Hello
Yes you could use the flash memory for this.
There are hundreds of posts about doing this here.
use "flash as eeprom" as a search term to get you started.