Flash memory - MC68HC908QB8

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

Flash memory - MC68HC908QB8

1,313 Views
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.
Labels (1)
0 Kudos
Reply
2 Replies

301 Views
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 Kudos
Reply

301 Views
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 Kudos
Reply