Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Using flash memory instead of eeprom?

2005-02-02 by mteversmith

--- In lpc2000@yahoogroups.com, "gewitter2000" <martin@c...> wrote:
> 
> Hi!
> 
> Has someone used the flash memory of the lpc21xx for eeprom
purposes?
> Or is it more usefull to take an additive eeprom to the design? I
only
> want to store some parameters.
> 
> Thank you for feedback!
> Martin

Ho,

I've implemented an eeprom emulation for a LPC2106 in my "T-Clock"-
project. In the application it's just used to store two bytes for
brightness (backlight LED PWM) and contrast (contrast voltage PWM
AD-converter) values of the GLCD. You may find useful information in
the files iap*.* and the linker-scripts in the archive available from 
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/glcd_dcf77
One 8kByte memory-sector is reserved for "persistent storage" but the
emulation is a "512Byte EEPROM" to minimize sector-erase. Basic
approach: IAP and read-modify-write.

HTH
Martin Thomas

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.