Ruth Hendrix

Storing dynamic data in flash.. help ?

Discussion created by Ruth Hendrix Employee on Jan 24, 2006
Latest reply on Mar 23, 2006 by bigmac
This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.
Posted: Tue Feb 22, 2005 6:56 pm  
 am interested to know how I can store dynamic data in the flash of an HC08KX8. Basically I need to store non-volatile data in th KX8 wich will change during runtime! I understand there are ROM routines to write to flash, but I not sure how I would use them using C. Once the KX8 is running in the field, it will be shut off and on, and the values stored need to be remembered! Any info, links to where I can read up on this would be of great help! Thanks in advance!!!!!!
Posted: Tue Feb 22, 2005 7:02 pm      
Hi, The Application Note AN1831 is describing how to use the on-chip Flash programming routines on KX8. Got to FSL website and search for: Application Note AN1831 Posted: Tue Feb 22, 2005 7:15 pm    
Thanks for such a quick response! I'll check it out and get back to you!
Posted: Tue Feb 22, 2005 7:17 pm  
THANKS!!!!!!!!!! I will be reading these!!!!!!!!
Posted: Tue Feb 22, 2005 7:41 pm   
Seems like this will do! This site is awesome! Very quick responses!
Posted: Tue Feb 22, 2005 8:02 pm     
AN2346 gives ya an algorithm - altogether 100 bytes or so... Could be reused with some clk-speed considerations within each derivate.
Posted: Wed Mar 02, 2005 2:18 am    
Works like a charm! Thanks all!!! HC08 Rules

Message Edited by Alban on 01-26-2006 11:58 AM