MC9S08JM32 - Store data in nonvolatile memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S08JM32 - Store data in nonvolatile memory

683 Views
leesp
Contributor I

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.

Labels (1)
0 Kudos
Reply
2 Replies

421 Views
bigmac
Specialist III

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

 

0 Kudos
Reply

421 Views
peg
Senior Contributor IV

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.

 

0 Kudos
Reply