Questions regarding the EEPROM of the MPC504B.

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

Questions regarding the EEPROM of the MPC504B.

Jump to solution
707 Views
yu-rimchoi
Contributor I


Hi, All:


I am developing using MPC5604B MCU and I have a question about EEPROM.

I want to use the internal EEPRM instead of the external EEPROM.
First, I know that there is no internal EEPROM in the MPC5604B (or does the MPC5604B have an internal EEPROM?).
I know that instead of the internal EEPROM, use the area of Flash like an EEPROM.
I would be grateful if you could let me know about this application note or documentation.

Or can the EEPROM function be implemented in other ways?

Thank you.

0 Kudos
1 Solution
599 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

The MCUs typically does not have EEPROM memories included on the chip, but there is internal FLASH there and it can be used for EEPROM emulation. If the device has data flash, this are being typically used for this, otherwise it can be managed with small blocks of unified flash (because of small block has higher data endurance).

EEPROM emulation driver basically spreads programmed data content over the whole data flash in order to prevent wearing out of particular flash portions. Otherwise endurance limit (number of program/erase cycles) would be early achieved and data content could be damaged.

 

EEPROM emulation driver you can download here; example codes and documentation are included in the installation directory:

http://www.nxp.com/downloads/en/device-drivers/MPC5xxx_EEE_DRIVER.exe

 

Application note described the principle understandably you may read here:

http://www.nxp.com/docs/en/application-note/AN4868.pdf

 

pastedImage_1.png

View solution in original post

2 Replies
599 Views
yu-rimchoi
Contributor I

This answer will really help me a lot.
Thank you very much.

0 Kudos
600 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

The MCUs typically does not have EEPROM memories included on the chip, but there is internal FLASH there and it can be used for EEPROM emulation. If the device has data flash, this are being typically used for this, otherwise it can be managed with small blocks of unified flash (because of small block has higher data endurance).

EEPROM emulation driver basically spreads programmed data content over the whole data flash in order to prevent wearing out of particular flash portions. Otherwise endurance limit (number of program/erase cycles) would be early achieved and data content could be damaged.

 

EEPROM emulation driver you can download here; example codes and documentation are included in the installation directory:

http://www.nxp.com/downloads/en/device-drivers/MPC5xxx_EEE_DRIVER.exe

 

Application note described the principle understandably you may read here:

http://www.nxp.com/docs/en/application-note/AN4868.pdf

 

pastedImage_1.png