Yahoo Groups archive

Lpc2000

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

Message

Re: Error in flashwrite on LPC2132

2006-01-11 by lpc2100_fan

Hi,

have a look at the application note about using Flash as EEPROM in the
files section of this forum.
Name: EE_Demo.zip

There have been several posts indicating that the smallest sector to
be modified should be 16 bytes. You can also just modify less bytes
but do not try to reuse the other bytes of the 16 bytes block. The ECC
will be generated once and tried to update every time a write to the
sane 16 byte block occurs, ergo it is going to be wrong and it will
try to "correct" your data, so your data will be wrong too. 

hope this helps, Bob

--- In lpc2000@yahoogroups.com, gtz.gtz@j... wrote:
>
> Using the Keil Flashfiler, am i having trouble with the internal
flash via IAP.
> 
> It seems that extra data is placed on the flashmap, different from
RAMbuffer, after it is delivered to IAP_execute.
> 
> Has any one Experienced the same ? 
> or and have some advice.
> 
> I have stopped interrupt, during the IAP call. and the bootloader is
v2.11
> 
> GTZ
>

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.