I try to write and read external EEPROM with my Arduino.
I start with this tutorial and this EEPROM, but when reading function start the serial monitor show unexpected result. In all addresses I write the number '6', 3 times (addresses 0,1,2) I read '0' and 3 times (addresses 3,4,5) I read '6'. When I read my EEPROM with programmer addresses are with written '6'. I sniff the communication with logical analyzer and everything is fine, but sometimes the EEPROM return 0 (255 is because logical analyzer apply 3V on the pin) picture 1, picture 2
I try to change Vcc from 5V to 3.3V. I try to change Arduino board, I try to change EEPROM. I buy AT25HP512... and the result is every time the same. No matters what I read (address or several addresses).
What I do wrong?