cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

New Contributor

Hi,

I'm trying to use the CYPD3120-40LQXI_dp_dongle example from the SDK 3.0.1 but it does not seem to work with PSoC Creator 4.2.

PSoCC does create the sample project and then prompts to upgrade its components (update log attached). After component update project does build but fails to link complaining about missing interrupt vectors. I had to modify the samples linker script cm0gcc.ld (attached) little to enable linking.

Now I've the firmware built but I cannot flash it. EZ-PD Configuration Utility cannot read the firmware file and shows error dialog  'Loading configuration failed' and logs "Error: CYACD file doesnt contain configuration". I've verified that the firmware file indeed contains bytes of the configuration block so it looks like EZ-PD and flash tools are expecting different kind of firmware format/layout.

Any idea what might be wrong? I've never worked with Cypress PD products or toolchains before so it's still just guesswork for me.

Thanks!

0 Likes
Reply
1 Solution
Moderator
Moderator

Hi ,

1. The SDK 3.0.1 is target for PSoC Creator 3.3. You can download older versions of PSoC Creator from: http://www.cypress.com/documentation/software-and-drivers/psoc-creator-software-archive

2. If you could like to build CCG3 notebook firmware with PSoC Creator 4.2, you need install SDK3.2.0. You could download it from the link: http://www.cypress.com/documentation/software-and-drivers/ez-pd-ccgx-power-software-development-kit?...

Best Regards,

Lisa

View solution in original post

0 Likes
Reply
2 Replies
Moderator
Moderator

Hi ,

1. The SDK 3.0.1 is target for PSoC Creator 3.3. You can download older versions of PSoC Creator from: http://www.cypress.com/documentation/software-and-drivers/psoc-creator-software-archive

2. If you could like to build CCG3 notebook firmware with PSoC Creator 4.2, you need install SDK3.2.0. You could download it from the link: http://www.cypress.com/documentation/software-and-drivers/ez-pd-ccgx-power-software-development-kit?...

Best Regards,

Lisa

View solution in original post

0 Likes
Reply
New Contributor

Hi,

The Power SDK3.2.0 has no sample projects for CYPD3120 but we managed to use its sample projects as example how to modify dp dongle example linker scripts for PSoC 4.2. Attached working script for future reference. Thanks!

0 Likes
Reply