Yahoo Groups archive

Lpc2000

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

Message

IAP clarification

2004-08-17 by embeddedjanitor

Hi 

I have read http://groups.yahoo.com/group/lpc2000/message/2999 but 
still have a few questions...

1) Do I need to erase the flash before programming it?

2) Does the "prepare for write" command just unlock the flash or does 
it erase the flash too?

3) If I wish to program using partial pages (let's say 64 bytes at a 
time), is the following the way to do it?

  prepare for write
  erase block
  prepare for write
  write first partial page
  prepare for write
  write second partial page
  ......
 Where the partial page programming means writing 512 bytes all 0xFF 
except for the bytes I intend writing (as per msg 2999).

Thanx

-- CHarles

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.