Yahoo Groups archive

Lpc2000

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

Message

Re: LPC.... Flash - EEPROM

2005-03-30 by embeddedjanitor

--- 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.