Arduino and external EEPROM

Hello!

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?

Don't use google to provide information, post everything here in the forum. I cannot access your google content, so I cannot help you.

pylon, thank you for replay

but sometimes the EEPROM return 0 (255 is because logical analyzer apply 3V on the pin)

No, the EEPROM doesn't return 0 in that case but it doesn't react at all. This is probably a hardware problem. Please provide a picture of your setup as sharp as possible.

Are you sure your logic analyzer has a pullup to 3V3? I have a Saleae too but mine doesn't do that.

Yes, the problem was hardware! Pin 7 was not connected to 5V...