Can I force USB fallback boot by software ?

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

cross mob
ptphucbk
Level 1
Level 1
5 replies posted First reply posted First question asked

Hi all,

I have my cypress FX3 with PMOD configured in I2C --> USB. 

The cypress works great with firmware in I2C EEPROM.

However in my situation where I have only remote access to a linux machine that connects to cypress by USB. And I want to update the firmware on the cypress from USB. So I want to somehow force the fallback so that I can load the firmware from the linux machine.

I know that in the document of FX3:

The I2C EEPROM boot fails under the following conditions:

• I2C address cycle or data cycle error

• Invalid signature in FX3™ firmware image

• Invalid image type

So my only option is to provoke the error on I2C bus so that it falls back to USB. 

Is there anyone was in the same situation and have a solution for that ?

Thank you very much

0 Likes
1 Solution
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hello,

A feature of writing EEPROM can be included in the application firmware. When USB fallback is needed, use this feature to modify the first two bytes of the firmware image. This will lead to USB fallback.

Best Regards,
AliAsgar

View solution in original post

0 Likes
7 Replies