[QUOTE=skimask;62484][QUOTE=xnihilo;62476]I need to work with 24 bits addresses for a 1024 bits memoryI wrote 1024 bits but I meant 1024 Kilobits memory (1Mega) ... Sorry... It's late...24 address bits get you 16,777,216 bytes of memory ( 2 ^ 24)
Last byte with 24 bits should be $FFFFFF
If we're still talking about the same thing, you should have 256 'SECTOR's
What are you dealing with exactly? Seems like there is some disconnect between point A and point B here...
I have to access up to byte $01ffff.
So yes, I have only 2 sectors: 256bytes * 256 pages * 2 = 128Kbytes = 1024 Kbits
I'm dealing with SPI serial eeprom 25AA1024 from Microchip.
Bookmarks