FX3 i2c boot problem

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

cross mob
Anonymous
Not applicable

Hi,

   

When I set PMODE to boot from I2C, somtimes FX3 can not load boot image from EEPORM.

   

I tried to change the I2C speed from 100kHz to 1MHz.

   

I also found that it can not boot from I2C after a hard reset by asserting the Reset# pin on FX3.

   


May someone help me ,thanks!
 

0 Likes
1 Reply
Anonymous
Not applicable

Do you use a "EZ-USB® FX3™ SuperSpeed Explorer Kit" or do you have a custom board?

   

As you have mentioned that the boot does not happen "sometimes", so I assume that rest of the settings and FX3 I2C configuration are okay. Can you probe the I2C clock and data lines when you see this problem? 

   

If the PMODE set to " I2C, On Failure, USB Boot is Enabled", if so, the device will fall back to USB boot as a bootloader. IF so, the you can program the device with USBFlashProg example in the FX3 SDK. This example has methods to read and write an I2C slave. Please check if you I2C read and write are happening at this moment using vendor command CY_FX_RQT_I2C_EEPROM_WRITE/Read in the setupCB.

0 Likes