--- In lpc2000@yahoogroups.com, "chazeltopman" <rob@n...> wrote: > Now let me explain the write algorithm I'm using. > I need to be able to store 32 bit values into flash > one at a time. Since the IAP routines limit writes > to a minimum of 512 bytes I had to work around > this limit. I've received an anonymous reply that addresses the flash writing limitations: : The flash can not be used '32 bit word' wise. : You could try to write 16 bytes at once (4x 32 bit word), : but the number of partial writes per 512 bytes (the normal : size) is limited (I don't believe this number is specified). : : Note the '16 byte'data should be properly aligned on 16 byte : multiples (but again the number of 'partial write'is limited : .. let's say .. 16 times or so :-) ). : : You may repost this info in the group - as long as you : don't refer to me. Since counting the number of times I write to a location presents a new bag of trouble, I'll use the dumb algorithm of copy, modify, erase and write back. Sigh. Rob
Message
Re: Flash fails to write a bit or zeroes other bit
2004-05-24 by chazeltopman
Attachments
- No local attachments were found for this message.