Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
Az-eddine
Level 3
Level 3
10 replies posted 5 questions asked 10 sign-ins

Hi,

i'm in trouble with a device that does not load the new application because it fails this function (Cy_DFU_ValidateMetadata(..)).

Trying with another device all work perfectly.

I compared the entire flash of the two devices and it's the same.

Why it fails? it returns CY_DFU_ERROR_VERIFY

Help please

0 Likes
3 Replies
Sidramesh_S
Moderator
Moderator
Moderator
250 sign-ins 100 replies posted 25 solutions authored

Hi @Az-eddine ,

Are you using PSoC Creator 4.4 or ModusToolbox (Specify the version) ?. and also let me know the MPN that you are using.

Thanks and regards,
Sidramesh

0 Likes

Hi,

Psoc creator 4.4 and exported to Keil.

MPN CY8C6347BZI-BLD54

0 Likes
Sidramesh_S
Moderator
Moderator
Moderator
250 sign-ins 100 replies posted 25 solutions authored

Hi @Az-eddine ,

You mentioned you compared the entire flash of the two devices and it's the same.

If you are comparing the device which has a size of flash different from CY8C6347BZI-BLD54 MCU then both device metadata address is different.
That's why you might be facing metadata error.

Make sure you are providing the below line in both dfu_cm0.ld and dfu_cm4.ld under the MEMORY section
flash_boot_meta   (rw)  : ORIGIN = 0x100FFA00, LENGTH = 0x400
 

Thanks and regards,

Sidramesh

0 Likes