CY4532 EZ-PD EVK, How to programm CCG3PA Controller (CYPD3171-24LQXQ) ?

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
Anonymous
Not applicable

Hi

I bought CY4532 EZ-PD and I connected it to my computer using micro USB connector on the bottom board. When I try to read from the device using EZ-PD Configuration Utility, I see part number: CYPD4126-40LQXI which is the controller on the bottom board. I would like to modyfi software in MCU on top board which is CYPD3171-24LQXQ. My question is, how can I program this controller ? When I try to use Firmware update in EZ-PD Configuration Utility I get error that file I try to upload does not match the selected device, so I quess that must be bottom MCU. Can I do it using only CY4532 EZ-PD CCG3PA Evaluation kit or I need have MiniProg3 programmer ?

Best Regards

Karol

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

Hi Karol,

Could you please kindly go through attached user guide and to see if the issue is fixed or not?

Best Regards,

Lisa

View solution in original post

0 Likes
8 Replies
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Karol,

1. If you could like to upgrade firmware of CYPD3171, you need set jumps as below:

J2,J3, &J4, short 1-2;

J6: 1-2;

J5&J7: 1-2.

And then use USB Type-A to mini-B cable connect Notebook with J12 (button board).

2. Open Ez-PD configuration Utility to upgrade CYPD3171 device.

Best Regards,

Lisa

0 Likes
Anonymous
Not applicable

Hi Lisa,

thank you, that helps. Now in EZ-PD Configuration Utility I can see two devices connected but still somethings is wrong because I can't program CYPD3171. When I try Firmware Update in the log I receive this message:

Device Discovery completed.

PD contract established.

Flash update mode (4b4, 1) entered

Restarting the target device

Re-negotiating PD contract after switching target reset

Error: PD contract not established after RESET

Error: DLL call returned error while fetching info

Starting CCG firmware update over CC line

Could not establish PD contract.

Error: DLL call returned error while flashing

Best Regards

Karol

0 Likes

Hi Karol,

1. Could you please kindly check the Ez-PD configuration Utility is Version 1.1 Build 188 or not?

2. May I know whether DC have been powered on your CY4532 board or not?

3. Check Device Manager of your notebook, check CY4532 is emulated to which class device? Correct information shall be:

USB-Serial (Single Channel) Vendor 1

USB-Serial (Single Channel) Vendor MFG

4. Successful log shall be below:

--------------------------------------------------------------------------------------------------------

Starting Device Discovery.

0 HID devices found.

2 USB-Serial Bridge devices found.

Could not establish PD contract.

PD contract established.

Device Discovery completed.

PD contract established.

Flash update mode (4b4, 1) entered

Restarting the target device

Re-negotiating PD contract after switching target reset

Flashing device is UFP, initiating DR_SWAP

DR Swap Successful

Flash update mode (4b4, 1) entered

PD contract established.

Flash update mode (4b4, 1) entered

Device is in boot mode: Starting FLASH update operation

Programming data from file: C:\Program Files (x86)\Cypress\EZ-PD CCGx Power SDK\CCGx\Firmware\binaries\CYPD3171-24LQXQ_cla\CYPD3171-24LQXQ_cla_3_2_0_1616_0_0_0_pa.cyacd

Firmware/Configuration write to flash completed

Firmware image (FW:1) is valid

Restarting the target device

Re-negotiating PD contract after switching target reset

Flashing device is UFP, initiating DR_SWAP

DR Swap Successful

Flash update mode (4b4, 1) entered

Flash update operation successful

--------------------------------------------------------------------------------------------------------

Best Regards,

Lisa

0 Likes
Anonymous
Not applicable

In reference to your questions:

1. Yes, I updated Ez-PD configuration Utility to Version 1.1 Build 188

2. Yes, CY4532 board is powered on DC connector from external power supply.

3. Yes, in device manager I have:

USB-Serial (Single Channel) Vendor 1

USB-Serial (Single Channel) Vendor MFG

I was able to read two connected devices  in Configuration Utility, but after trying to progam CYPD3171, which didn't success, now I go back to 1 connected device and my log looks like that:

Starting Device Discovery.

0 HID devices found.

1 USB-Serial Bridge devices found.

Could not establish PD contract.

Device Discovery completed.

0 Likes

I am having this exact same issue, did you manage to solve it?

Using the CY4532 EVK with EZ-PD-Config 1.1 Downloaded today.

Also in the latest EZ-PD SDK 3.0.2 there are no examples in the projects or binaries for the CCG3PA SoC on the CY4532 - the CYPD3171-24LQXQ

Please could Cypress update me as I feel like we have purchased an unusable part which wasn't cheap. Best wishes

0 Likes
Anonymous
Not applicable

No, unfortunately, I did not solve my problem. I was out of the office for two weeks and now I go back to this problem and frankly I have no idea what's wrong. I still get a log like this:

Starting Device Discovery.

0 HID devices found.

1 USB-Serial Bridge devices found.

Could not establish PD contract.

Probably I'm gone need to switch to some other platform because this one is too much trouble. Definitely too much for this price.

0 Likes
Anonymous
Not applicable

I manage to discover 2 devices in EZ-PD Configuration but when I try to read firmware from CYPD3171 or program it, I get this error:

0 HID devices found.

1 USB-Serial Bridge devices found.

PD contract established.

Device Discovery completed.

PD contract established.

Flash update mode (4b4, 1) entered

Restarting the target device

Re-negotiating PD contract after switching target reset

Error: PD contract not established after RESET

Error: DLL call returned error while fetching info

Could not establish PD contract.

Error: DLL call returned error while reading the configuration

How can I work this out ?

Best Regards

Karol

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

Hi Karol,

Could you please kindly go through attached user guide and to see if the issue is fixed or not?

Best Regards,

Lisa

0 Likes