cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD™ Type-C

OlEr_1999891
Contributor

Hi!

When I copy and compile the standard CYPD3125-40LQXI_notebook.cydsn project from the 3.4 Host SDK both backup_fw and main fw compiles without problem. However, when I change to CYPD3123 (via Device Selector) and change the bootloader to "CYPD3123-40LQXI_usb_boot_3_0_2_900_0_0_0_cu.hex", I get: 

ERROR: cannot open linker script file .\cm0g_1.ld: No such file or directory
collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

when building the project. Tried without success:

- Renaming cm0gcc.ld to cm0g_1.ld, but there was no  cm0gcc_2.ld in the project folder 
- Copy cm0g_1.ld / cm0g_2.ld from the backup_fw projet

Do I need a new USB bootloader file for the 3.4 SDK? Or does the linker-files need to change to fit in the USB booatloader?

Cheers

Olof

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator

Hello Olof,

1. You shall update the usb boot in Application FW2 only same as Host SDK and make sure back up project have been complied successful. 

2.. If you are using MDK complier with host SDK3.4, your question is correct, the CYPD3123 usb boot need a new .elf and .hex file for usb boot. 

Best Regards,

Lisa

View solution in original post

0 Likes
5 Replies
ShifangZ_26
Moderator
Moderator

Hello Olof,

1. You shall update the usb boot in Application FW2 only same as Host SDK and make sure back up project have been complied successful. 

2.. If you are using MDK complier with host SDK3.4, your question is correct, the CYPD3123 usb boot need a new .elf and .hex file for usb boot. 

Best Regards,

Lisa

View solution in original post

0 Likes
OlEr_1999891
Contributor

Hi Lisa!

Thanks for the answer. Where do we find the usb bootloader binaries for 3.4?

Cheers

Olof

0 Likes
ShifangZ_26
Moderator
Moderator

Hi Olof,

Currently, there is not release candidate of usb bootloader binaries for 3.4. Recommend you use I2C bootloader and enable billboard for dock design. 

Best Regards,

Lisa

0 Likes
OlEr_1999891
Contributor

Ok. We use CYPD3123 in our devices, not in the dock. That is why we need USB Bootloader. Ok, we stick with the older EZ-PD SDK. Pls consider releasing a 3.4 binary of the USB Bootloader.

Cheers

Olof

0 Likes
ShifangZ_26
Moderator
Moderator

Hello Olof,

Sure. We will consider releasing a 3.4 binary of the USB Bootloader. Thank you very much for your feedback.

 

Best Regards,

Lisa

0 Likes