Yahoo Groups archive

Lpc2000

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

Message

Re: LPC.... Flash - EEPROM

2005-03-31 by lpc2100_fan

Hi Frank and Charles,

there seems to be a little mix up here: 
Frank you are talking about LPC900 and yes you can program byte by
byte and use the program memory very easy as EEPROM.
Charles, I guess you are talking about the LPC2000 flash devices where
byte programming as EEPROM replacement can only be done in larger
chunks as discussed before in this group. 

Frank, you asked your question in the correct group LPC900_users as
well, this group is for the LPC2000 devices and EEPROM is very
different than on the LPC900, that's where the confusion comes from.

hth, Bob

--- In lpc2000@yahoogroups.com, "embeddedjanitor" <manningc2@a...> wrote:
> 
> --- In lpc2000@yahoogroups.com, "frankausloehne" <frank@f...> wrote:
> > 
> > Hello to everybody 
> > I am using IAP to program the FLASH memory ,to store permanently some 
> > data, as I have not included EEPROM in my target board.So my 
> > application itself is programming the FLASH to recall some data
> > during next power ON. 
> > I am using the assembler-code which I found in the user manual 
> > LPC901..... It runs very well in my software-simulator in Keils 
> > µVision3. When I am using Keils EPM900-Emulatorboard it also runs 
> > good. When I use it on Chip, I always read different numbers from the 
> > same address. 
> > H E L P me please. Is here anybody who can help me, to program some 
> > code, which runs on chip and in the emulator? 
> > How about this: Write #89H into code:0801H -- than read from 0801H
> > and store in ACC 
> > It would be nice to hear from anybody Best Regards Frank
> 
> You can only effectively program 512byte chunks at a time on 512byte 
> boundaries.
> 
> If you want to only update a few bytes at a time you're progbably going 
> to have to read in the page, erase it and rewrite the modified page.
> 
> The IAP routines work fine for me.

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.