4 ms·
EEPROM allows you to write individual bytes. Flash requires you to write many bytes (~256) at once. Some flash chips compensate by including a small amount of
by peteey 9y ago
EEPROM allows you to write individual bytes. Flash requires you to write many bytes (~256) at once.
Some flash chips compensate by including a small amount of RAM to handle read-modify-write operations.
- mrob 9y agoFlash doesn't always require writing many bytes at once, only erasing many bytes at once. Erasing means setting all the bits in a block to 1 (0xff). It's often possible to write individual bytes, although there's no way to switch a bit from 0 to 1 without erasing the whole block.
- lathiat 9y agoTechnically correct... the best kind of correct? :)
- ianhowson 9y agoIt's actually a really useful characteristic to keep in mind. If you're writing logs, for example, writing the same block multiple times gives you: * faster writes * lower peak power consumption * lower flash wear * less chance of data corruption should power fail mid-write