garry blair

Storing data in FLASH - MC68HC908QY4

Discussion created by garry blair on Apr 23, 2008
Latest reply on Apr 23, 2008 by bigmac
Hi,
 
I know there are a few posts already on this sort of topic but im still finding myself a bit stuck!!
 
In my application, I need to store a 128 bits in FLASH memory.
 
I tried to use 
as an example (obviously changing things to suite the MC68HC908QY4 MCU address ranges and registers etc.)
 
For a test code I'm just trying to write a random variable to a FLASH address and then read it and display on LEDs after pressing a button(using InDart dev board) but its not doing anything apart from displaying 0xFF.
 
Does anyone know any good links or have some examples of some code?
If it will help I can post the code I have used. I hope i'm not being too vague!!
 
Any help would be appreciated as this is driving me nuts!


Message Edited by Gaz250587 on 2008-04-23 10:14 AM

Message Edited by Gaz250587 on 2008-04-23 10:14 AM

Outcomes