Maker Pro
Maker Pro

strange trick in 24c16 blocks

B

blisca

Jan 1, 1970
0
Hi to you all

can't understand where is my error(mine,because the device, tested on a
programmer works fine)

i implemented a I2C protocol between a pic uController and a 24c16 eeprom,in
the circuit a display is included ,so i have routines to check what i'm
going to write in eeprom,and then to read what has been written


some fixed values are written in location 0x005 and 0x006,rest of eeprom was
cleaned to 0x00, then i write in successive locations,
when i reach the start of the second block the control byte is increased by
2(10100000 becomes 10100010) and so on

it looks all correct except for 2 bytes at 0x105 and 0x106,this makes me
think that there is some relation between the values initially present in
the first block and the error

pins A1,A2,A3 and WP are tied to ground

some ideas?
Thank you for any answer or just for reading about this trivial(at least i
hope it is) problem.

Diego,Milan Italy
 
B

blisca

Jan 1, 1970
0
but thank you if you are reading until this
 
Top