cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

OlEr_1999891
Contributor

Hi!

Is there a guide and library / code-example to programatically (not via EZ-PD Configuration Utility) update the firmware of CYPD3120 via USB (Billboard) connected to a Windows and/or Linux host?

And, the HEX-file that the compiler outputs, this has to be turned into an IMG-file right? Any specific Cypress tool to do this or standard Intel Hex2Bin?

Cheers

Olof

0 Likes
Reply
1 Solution
ShifangZ_26
Moderator
Moderator

Hi Olof,

a) Does it have to be CYPD3120 for this setup to work or does it also work with CYPD3125? Assuming the device is initially programmed using SWD.

>> This have to be CYPD3120, CYPD3119, CYPD3123. As per the information lists on Order information of CCG3 datasheet, those three part number is pre-programmed USB bootloader.

b) Is there a guide to how to do the flashing programmatically over USB HID?

>> We are not documentations based on this, but the USB bootloadering is same use as CY7C6521x on CY4531 board.

c) Is there a Windows console program where it is possible to push new firmware?

>> The only windows console is Ez-PD configuration Utility. Luckily, SDK3.3 will update soon and it will includes USB bootloadering parts.

Best Regards,

Lisa

View solution in original post

0 Likes
Reply
5 Replies
ShifangZ_26
Moderator
Moderator

Hi Olof,

So far, we have a internal SPEC named HPI and application notes relates on HPI can be refer to,but it is discover under NDA. Please could you contact your local Cypress FAE and get it from him?

No need, PSoC Creator generated .hex format and .cyacd format at same time, you can use .cyacd directly.

Best Regards,

Lisa

0 Likes
Reply
OlEr_1999891
Contributor

Hi Lisa!

We have the NDA and HPI specification, but I was refer to the following configuration option where it is done over D+/D- lines, not via the HPI/EC-interface.

pastedImage_0.png

So, question is:

a) Does it have to be CYPD3120 for this setup to work or does it also work with CYPD3125? Assuming the device is initially programmed using SWD.

b) Is there a guide to how to do the flashing programmatically over USB HID?

c) Is there a Windows console program where it is possible to push new firmware?

In the usb_hid.c we see that there is a HID interface defined to load new firmware, but can't find any good documentation on how to use it programmatically.

Cheers

Olof

ShifangZ_26
Moderator
Moderator

Hi Olof,

a) Does it have to be CYPD3120 for this setup to work or does it also work with CYPD3125? Assuming the device is initially programmed using SWD.

>> This have to be CYPD3120, CYPD3119, CYPD3123. As per the information lists on Order information of CCG3 datasheet, those three part number is pre-programmed USB bootloader.

b) Is there a guide to how to do the flashing programmatically over USB HID?

>> We are not documentations based on this, but the USB bootloadering is same use as CY7C6521x on CY4531 board.

c) Is there a Windows console program where it is possible to push new firmware?

>> The only windows console is Ez-PD configuration Utility. Luckily, SDK3.3 will update soon and it will includes USB bootloadering parts.

Best Regards,

Lisa

View solution in original post

0 Likes
Reply
OlEr_1999891
Contributor

Ok, great!

Is it possible to manually load a firmware that has USB Boatloader into CYPD3125 using the SWD interface? Or that is not possible?

Cheers

Olof

0 Likes
Reply
ShifangZ_26
Moderator
Moderator

Hi Olof,

Yes. It can be fresh by SWD programming .

Best Regards,

Lisa

0 Likes
Reply