strange trick in 24c16 blocks

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

Reply to
blisca
Loading thread data ...

but thank you if you are reading until this

Reply to
blisca

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.