'cyfwstorprog.exe' failed to program a firmware using a particular eMMC flash

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

cross mob
kcnishio3
Level 1
Level 1
5 sign-ins First reply posted First question asked

Greetings,

I was wondering anybody encountered this failure: "Error, "Write failed. Aborting" while programming the firmware to the particular eMMC device, which is Koxia THGBMJG6C1LBAIL (8GB, eMMV 5.1 compliant). We use SanDisk iNAND7250 and this device has no issues to program the firmware using 'cyfwstorprog.exe.'

===

[Hardware]
MCU: CYUSB3025.
eMMC: THGBMJG6C1LBAIL.
 
[SDK]
EZ-USB FX3 SDK 1.3.4.
 

[Problem description]

Two partitions, and a user partition were successfully created but while programming the firmware, I got the following error:

Partition Details:
Number   Type               Location             Size
0        Data Area        Boot1 Location        8192 blocks
1        Data Area        Boot2 Location        8192 blocks
2        Data Area        User  Location        15269888 blocks

MSG: Setting active partition for Boot firmware download...Done.
MSG: Programming primary firmware image...Error: Write failed. Aborting
Failed to write the image to the partition.
===
If any of you can shed the light on the root causes, it will be greatly helpful.
 
Kind regards,
-kcn
 
 
 
0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please note that CYUSB3025 is compliant to eMMC 4.41 and the cards used are eMMC 5.1.

Please confirm if the THGBMJG6C1LBAIL is backwards compatible

If yes, please share the UART debug prints  (GPIO[53] - GPIO[56]) when the issue is seen

Regards,
Rashi

View solution in original post

0 Likes
4 Replies
kcnishio3
Level 1
Level 1
5 sign-ins First reply posted First question asked

[Additional info.] 

I successfully programmed the firmware twice using a brand-new board. Then firmware is not able to program to the eMMC flash at all.

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

Hello,

Please note that CYUSB3025 is compliant to eMMC 4.41 and the cards used are eMMC 5.1.

Please confirm if the THGBMJG6C1LBAIL is backwards compatible

If yes, please share the UART debug prints  (GPIO[53] - GPIO[56]) when the issue is seen

Regards,
Rashi
0 Likes
kcnishio3
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hello Rashi, 

 

Thanks much for your tips.

Perhaps these may be root causes:

* PCB assembly issue.

* Power up sequence of eMMC.

* As you mentioned, a compatibility issue.

 

Unfortunately, UART pins are not reachable...

I will keep you posted on this.

 

Many thanks,

-kcn

0 Likes

Hello,

Please let me know if the issue is resolved

Regards,
Rashi
0 Likes