Fausto

There should be some data, not all FFs so I think there is a problem with I2C address for the 8-pin EEPROM chip which stores the VID and PID.

I think perhaps your board has a ATMEL AT24c128 (16KBbytes) with 2 byte address whereas my example command was for a 256byte EEPROM which uses a one byte address.

Try:

fx2tool -B -d 16c0:296d read_eeprom -W 2 0 256

But this may not work depending on your PCB EEPROM connections.

fx2tool will use i2c device address 0x51 (see reference [1] below)

Address 0x51 means the pins on your eeprom chip [2] need to be:

Pin1 = 1 (connected to pin 8)

Pin2 = 0 (or floating/unconnected)

Pin3 = 0 (or floating/unconnected)

[1] Line 134 in:

https://github.com/whitequark/libfx2/blob/master/firmware/boot-cypress/main.c

[2] EEPROM datasheet:

http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8734-SEEPROM-AT24C128C-Datasheet.pdf

Rgds, Kevin

On 2021-01-11 00:47, Fausto Barbosa wrote:

Thank you Arno and Arsenijs.
python3 did the trick.
Now I run:

$ fx2tool -B -d 16c0:296d read_eeprom -W 1 0 256
and get
ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to