You are here

Reading Serial EEPROM which is Connected to the FX2 | Cypress Semiconductor

Support & Community

Reading Serial EEPROM which is Connected to the FX2

Last Updated: December 25, 2011

Is there any way to read the serial EEPROM (EEPROM with VID/PID), connected to the FX2 (CY7C68013), from the host?


If you download the Vend_Ax example firmware (c:\cypress\usb\examples\fx2\vend_ax) with the EZ-USB control panel, you can use the Vend Req toolbar to read the serial EEPROM on the board. Use the 0xA2 for a small (LC00) EEPROM and 0xA9 for a large (LC64) EEPROM. Specify the offset with the Value field (such as 0x0000), the direction of EEPROM access (i.e., IN to read the EEPROM) and how many bytes to read (e.g., 16). There should be a memory dump type display of the data read from the serial EEPROM in the data area of the control panel window. If a string of "CD CD CD .." apperars, then the access to the EEPROM failed. Try again with 0xA9 if you used 0xA2 and vice versa. For serial EEPROMs programmed for VID/PID only enumeration (see the FX2 Technical Reference Manual section 3.4.2 C0 loads), the VID/PID will be in the first bytes of the EEPROM. If the serial EEPROM contains a complete program (manual section 3.4.3), then dump the bytes at offset of the device descriptor program. You will need the program's link map listing (.m51) file to determine the correct offset.

Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type