strange trick in 24c16 blocks

May 09, 2007 1 Replies

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


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required