Programming the FX2 EEPROM

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
rjb27
Level 1
Level 1
5 questions asked 5 sign-ins First reply posted

Hi,

we have developed a custom board that includes a FX2LP (https://www.cypress.com/file/124341/download). We have a firmware to configure it and we want to load it in a EEPROM memory that we have included in our custom board. We are not sure how to load the EEPROM for first time, we know that there is a software (Control Center) which can programm the EEPROM, but we suppose that the computer is not going to recognize the device since there is no configuration in the FX2, is this true?In that case, we would like to emulate an I2C slave to load the firmware (as it says the page 5 from the FX2's datasheet). How this task should be done? Do we only have to write via I2C the content of the firmware in the FX2? We have two files with extension .iic and .hex, how can we write via I2C these files to configure the FX2 emulating an I2C slave?

Thanks.

Best regards.

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Kindly go through the following App Note: https://www.cypress.com/file/43391/download 

How is the FX2LP enumerating now on the PC? Could you please share the screenshot of the device manager?

Regards,

Mallika

View solution in original post

0 Likes
3 Replies
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Kindly go through the following App Note: https://www.cypress.com/file/43391/download 

How is the FX2LP enumerating now on the PC? Could you please share the screenshot of the device manager?

Regards,

Mallika

0 Likes
rjb27
Level 1
Level 1
5 questions asked 5 sign-ins First reply posted

Hi,

our custom board is being soldered and it's going to arrive in few weeks (for this reason, we haven't connected it to the computer yet). In this custom design we have a FX2LP (CY7C6853A) that is connected to a EEPROM (24AA128T-I/MS) which is empty and need to be programmed for first time. We would like to know when we connect our custom board for first time wether it's going to be recognized by the computer or not, since there is no a firmware in the EEPROM.

Thanks

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Apologies for the delay in response.

In case no serial EEPROM is present on the I2C bus or an EEPROM is present, but its first byte is neither 0xC0 nor 0xC2, the descriptor data is supplied by hardwired internal EZ-USB tables. 

In such cases, FX2LP will enumerate as the Default USB Device/No EEPROM device.

0 Likes