cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD™ Type-C

apfel
New Contributor II

Hi to all,

 

right now I try to get the hang on the PSoC creator but I'm stuck at an issue. I use the CYPD5126-40LQXI_notebook example and as long as I use the "dummy_boot" bootloader to link all works fine. However, if I use the "i2c_boot_3_2_1_56_0_0_0_nb" bootloader (a dual application bootloader) the code generation fails once "cyelftool -M" is called to "m"erge both copies of the firmware into one hex file because both versions "overlap".
I think the root cause is the invocation of "cyelftool -B" beforehand for both copies of the firmware, both with "--flash_offset 0x00000000" which, by my guess, places both firmware copies right at the start of the flash ROM (and doesn't even account for the bootloader which should reside there).

I hope I just forgot to set an offset somewhere either in a header file or a setting but I can't find it.

Thanks for the help.

0 Likes
1 Solution
PranavaYN
Moderator
Moderator

Hi,

Please refer Sections 4.3.2 Bootloader selection and 5.4 Flash Memory Map in the SDK Guide to know the details on bootloader placement in the flash - https://www.cypress.com/file/415131/download

Are you trying to add bootloader to the primary firmware bootloadable component?

Best regards,
Pranava

View solution in original post

0 Likes
2 Replies
PranavaYN
Moderator
Moderator

Hi,

Please refer Sections 4.3.2 Bootloader selection and 5.4 Flash Memory Map in the SDK Guide to know the details on bootloader placement in the flash - https://www.cypress.com/file/415131/download

Are you trying to add bootloader to the primary firmware bootloadable component?

Best regards,
Pranava

View solution in original post

0 Likes
apfel
New Contributor II

No, right now I just try to understand the reference firmware and the interaction between the different Projects. And the CCG5 SDK guide you pointed me to seems to be the link I was missing. Thanks a lot!

0 Likes