CYPD3125 custom target programming fails

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
gkopins
Employee
Employee
First like received 25 sign-ins First like given

Hi,

I generated a CYPD3125-40LQXIT.hex file from PSoC creator.  Open the hex file in PSoC programmer, whose 5 pin connector are connected at follows,

VTARG to 3V3

GND to GND

XRES to CY_XRES

SCLK to CY_SWD0_CLK

SDAT to CY_SWD0_DAT

Selected programmer mode "Reset".  Programming device failed. Notice the "Program finished at 1..."

gkopins_0-1635106711043.png

 

I disconnected the XRES(reset) line and set programmer mode to "Power Cycle", still failed.  Notice the "Program finished at 9..."

gkopins_1-1635106711114.png

 

Can anyone help?

0 Likes
1 Solution
Pablo_EG
Moderator
Moderator
Moderator
First question asked 250 sign-ins 250 replies posted

Hello, gkopins,

Thank you for posting on Infineon Community.

I understand that you are not able to update the firmware via SWD.

There does not seem to be an issue with your PSoC Programmer configuration.

If the CCG3 device is powered using an onboard power supply, it can be programmed using the reset programming.
If you are connecting VDD, you can use both reset or power cycling.

Please make sure that the pins are physically connected using a tester.

When using Power Cycle mode, please turn off any onboard power supply.

If you are using the CY4531 evaluation kit, set jumper J3 to 2-3 position.

Best regards,
Pablo

View solution in original post

0 Likes
1 Reply
Pablo_EG
Moderator
Moderator
Moderator
First question asked 250 sign-ins 250 replies posted

Hello, gkopins,

Thank you for posting on Infineon Community.

I understand that you are not able to update the firmware via SWD.

There does not seem to be an issue with your PSoC Programmer configuration.

If the CCG3 device is powered using an onboard power supply, it can be programmed using the reset programming.
If you are connecting VDD, you can use both reset or power cycling.

Please make sure that the pins are physically connected using a tester.

When using Power Cycle mode, please turn off any onboard power supply.

If you are using the CY4531 evaluation kit, set jumper J3 to 2-3 position.

Best regards,
Pablo

0 Likes