EEPROM

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

EEPROM

2,323 Views
EagleBeak
Contributor I
The MC9S12E128 data sheet explains how to configure the INITEE register but according to the memory map and technical summary, there is no on-chip EEPROM. Is that not right?
 
If that's the case, is it possible to program the FLASH EEPROM from the Microcontroller operating program? I have calibration constants that I need to retain when power is off. This means, I will be programming pages of FLASH from code running in FLASH. Is this possible?
 
Thanks,
Eagle Beak
Labels (1)
0 Kudos
3 Replies

365 Views
colinh
Contributor I
Hi

Unless the 128k flash consists of 2 or more blocks (which I doubt) you will need to execute some of your code out of RAM. There is an app note: http://www.freescale.com/files/microcontrollers/doc/app_note/AN2720.pdf
which describes how to do it.

Colin
0 Kudos

366 Views
EagleBeak
Contributor I
Colin,
 
Thanks. Of all the documents people have recommended, AN2720 is the most straight forward.
 
Eagle Beak
0 Kudos

366 Views
jag
Contributor IV
Hi,
there is anything (a guide, or a demo) for the 56F8013 DSP?

I need to save some data to the flash between power ups and I've no clue how to do this.

Thanks bye Jack
0 Kudos