I am trying to write to this EEPROM and when I do, what I read back is always some other data, as if the EEPROM is write protected.
The sequence of instructions I am using are:
CMD 0x06 - Write Enabke
CMD 0x05 - Read status register, returns value 0x02
CMD 0x01 - Write Status register value 0x02
CMD 0x05 - Read status register, returns value 0x03 for 3.2msec, then returns value 0x00
CMD 0x02 - write to memory address 0x0000 value 0x33 (64 times)
CMD 0x03 - Read from memory address 0x000 and get value 0xAA 0xAA (then stops reading as the value is wrong)
The /W (write protect pin) is pulled down on PowerUp and the /HOLD pin is pulled up to to Vcc. Before writing I set the /W pin High.
Is there something else I should be doing to get the chip to be write enabled?