CYPD3120 dp dongle solution sample with PSoC Creator 4.2?

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

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

cross mob
lock attach
Attachments are accessible only for community members.
TeIk_3653391
Level 4
Level 4
25 sign-ins First like received 10 questions asked

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
1 Solution
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

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
2 Replies
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

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

0 Likes
lock attach
Attachments are accessible only for community members.

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