So I get what SEEPROM is, an EEPROM emulation layer on top of flash memory, but it's the details behind it that really throw me for a loop. I've been at this for more than 1 day now.
So you can have up to 64K in virtual EEPROM and it's divided into blocks and pages similar to flash memory. You configure the blocks in a sector and the virtual page sizes.
So the whole sector thing is really throwing me for a loop and the data sheet is as usual pretty vague about them.
* I know a sector contains a given number of blocks
* I know there are 2 sectors and only one is active, a switch causes the new active to be formatted beforehand
* I know that there's more pages than can fit into a sector so you have some page overflow outside the sector
Here's what I don't get
* Where are these 2 sectors? The data sheet only says their at the end of the main block. So I'm assuming you take a portion of the end of the main block and then divide it equally in two, and there you get your two sectors?
* What is the point of sectors? I'm assuming wear leveling?
* The datasheet mentions multiple sectors also have to do with pages beyond the max page index and that triggers a sector change? I don't understand this at all.
* Why is there always more pages that can fit into a sector, why is that? I also feel like this has something to do with a sector change.