MC9S08JM32 - Store data in nonvolatile memory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC9S08JM32 - Store data in nonvolatile memory

1,115 次查看
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.

标签 (1)
0 项奖励
回复
2 回复数

853 次查看
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 项奖励
回复

853 次查看
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 项奖励
回复