Yahoo Groups archive

Lpc2000

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

Message

Re: [gmane.comp.hardware.arm.lpc2100] Partial (Less than 512 bytes) Flash Programming

2004-08-11 by Frank Sergeant

"philips_apps" <philips_apps@...> writes:

> > Regarding the discussion of writing 16 bytes at a time, is this for 
> > the LPC2106 chip or for a different processor?
 
> It is for LPC 2104, 2105, 2106, 2114 2124 2119 2129 2194 2212 2214 
> 2292 2294 

Ok, so the discussion applied to the chip I'm using, an LPC2106.
  
> Minumum write size is 512 bytes.

Ok, that agrees with the way I read the manual.  I guess I read the
earlier posting with too much wishful thinking.

> Above mentioned approach will not work. You need to fill all bytes in 
> the RAM buffer with 0xFF. Only change the 16 bytes you want to write. 
> The modified 16 byte chunk must be aligned at 16 bytes boundary 
> within the 512 bytes buffer. The corresponding 16 bytes in the Flash 
> must  be 0xFF. If you want to write to a flash location that has 
> already  been programmed then you must erase the sector.

Ok, I think I understand now.  Thank you.


-- 
Frank

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.