Discussion in 'The Projects Forum' started by rakeshm55, Nov 24, 2011.
What are pages in EEPROM??
What do they mean??
Is it the max block size I can read or write??
the total size of eeprom has been divided into no of pages. each page is having a size of 256 bytes.
It is hard to answer your question without reference to a specific part. As you know in a RAM you can typically read and write individual words(bytes). In an EEPROM or Flash memory you typically want to write in blocks because you must erase an entire block in order to write a single word(byte). Blocks can be any convenient size; they are not restricted to 256 bytes. Since read operations are more frequent than write operations this is usually not a problem.
The usual strategy to change a single byte is:
Read an entire block(page) of EEPROM into RAM
Erase the entire block(page)
Write the data from RAM back to the EEPROM with a change to the desired word(byte)
Turn on Write Enable
Send the Write Command
Wait for the write operation to complete
Depending on the actual chip the, order of operations may be slightly different or there may be other steps that are required.