Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/09/05 17:55
Read: times


 
#93245 - yes and no
Responding to: ???'s previous message
However is it necessary to erase a block or can single bytes
programmed new without prior erase the whole block.

The nature of flash is block erase. Many users of byte programming have been severely surprised by endurance problems. (Some/All?) Flash chips with byte program actually have a little RAM inside and erase a block for each byte write. Thus when you have written 10.000 bytes the endurance is shot.

for the 668 and other block erase chips do this:
Once you have erased a block, you can program single bytes id they can not be ff, if they can you can program (a small) array. The method is known as a "walking write"

Erase the block, make what you store recognizable in "a byte is never ff" (structure/array/byte store. That way last written is ff found - 1, where to write is ff found. Then, when you are at the end of the block, you must erase and start over.

Erik


List of 2 messages in thread
TopicAuthorDate
IAP question for P89C668            01/01/70 00:00      
   yes and no            01/01/70 00:00      

Back to Subject List