Flash memory - MC68HC908QB8

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

Flash memory - MC68HC908QB8

1,467 次查看
Opal
Contributor I
Hi everyone,

I want to use Flash memory to store data using variable.How can I do that?.

I want to change the data of the varible whenever I want but the data should be there
even if it gets resets or even after power off and on.
标签 (1)
0 项奖励
回复
2 回复数

455 次查看
peg
Senior Contributor IV
Hi Opal,

It pays to search for your answer first.
This is probably the most FAQ.
Here are some starters for you:

http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&message.id=8121
AN's
3040
2690
2346
2183
http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&message.id=7959

0 项奖励
回复

455 次查看
bigmac
Specialist III
Hello,
 
The HC908QB8 device has ROM base routines available for erasing and programming flash.  You will probably want to use these because it simplifies the coding.  The 'QB8 device is specifically covered by AN2635.
 
To clarify Peg's response, the first forum link refers to 9S08 devices, which require a different process.  Whereas, the second forum link applies to HC908GP32 device that does not have the in-built ROM routines.  Similarly with AN2183.
 
Some other application notes, that refer to use of the ROM routines, to add to the list -
AN2504
AN2874
 
Regards,
Mac
 
 
0 项奖励
回复