| ??? 01/04/03 17:23 Read: times |
#35612 - RE: 24c65 upper addressing problem(s) |
I am using random writes.
also, the memory isn't really divided in blocks. it's just that I think of it as in blocks. so in my program, I have 8 seperate pointers. each array has en LSB-pointer and an MSB-pointer. the pointers for array1 never go over 07FFh so actually, my controller sees it as a memory with four separate arrays, but the memory itself is just one big block. every time I write or read something to it/from it, I send the adress too! i.e. if I want to store 4 bytes in the beginning of array1: byte1 = 02h byte2 = 3Ch byte3 = 0Dh byte4 = F4h I write this: 1) 00 00 02 2) 00 01 3C 3) 00 02 0D 4) 00 03 F4 so every byte is accompanied by two adressbytes. It works perfectly, as long as I don't go over adress 0FFFh Bart |



