EZ-USB-FX3/SD3 Boot from eMMC

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

cross mob
kipac_3825021
Level 1
Level 1
First reply posted First question asked Welcome!

Hardware:
CYUSB3025 (SD3) and Toshiba eMMC (5.1)

Issue:
CYUSB3025 is not able to boot from boot partition of eMMC, while boot from user partition works fine.

Details:
As far as I understood from the documentation, there are two options when it comes to loading firmware to eMMC.

1) Load firmware into one of boot partition (created by factory) of eMMC, either boot1 or boot2.

For this we used command:
cyfwstorprog.exe     -vid:<VID>      -pid:<PID>     -img:<IMG>   -bootp:boot1

Looking at print outs in command line, we spot no errors, and programming is performed successfully.
After this, when we reset CYUSB3025 with PMODE[2:0] set to FF0, it is not able to boot from eMMC and instead boots from USB. 

2) Load firmware into virtual partition created in user data area.

For this we used command:
cyfwstorprog.exe     -vid:<VID>      -pid:<PID>     -img:<IMG>

This creates the fourth partition in user area successfully and programming is performed successfully.
Upon resetting CYUSB3025 with PMODE[2:0] set to FF0, it is successfully able to boot from eMMC as expected.



So, the question is, why does it work when firmware is programmed to virtual partition in user area of eMMC, but it does not work when we program it to boot partition of eMMC ?

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

SD3 supports eMMC 4.4. Please confirm if the eMMC card is backwards compatible.

Also, please refer to the following threads with similar issue

Solved: emmc boot failure on CYUSB2024 - Cypress Developer Community  

Solved: cyfwstorprog source code and encrypting emmc conte... - Cypress Developer Community  

Regards,
Rashi

View solution in original post

0 Likes
2 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

SD3 supports eMMC 4.4. Please confirm if the eMMC card is backwards compatible.

Also, please refer to the following threads with similar issue

Solved: emmc boot failure on CYUSB2024 - Cypress Developer Community  

Solved: cyfwstorprog source code and encrypting emmc conte... - Cypress Developer Community  

Regards,
Rashi
0 Likes
jimauditor
Level 1
Level 1
First reply posted Welcome!

Thanks for solving this problem. The source above, by the way, helped a lot to understand and improve knowledge in this area.

0 Likes