Unable to program cypress mcu using miniprog4

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

cross mob
saurabh
Level 3
Level 3
50 sign-ins 25 sign-ins 10 replies posted

I've been trying to program the CY8C4245AXI-483  but facing the following error :

Info : http://openocd.org/doc/doxygen/bugs.html

Info : debug_level: 2

Info : adapter speed: 1500 kHz

Info : serial: 101A15C800287400

Info : transport: swd

Info : rst type: soft

Info : adapter speed: 2000 kHz

Info : ** Auto-acquire enabled, use "set PSOC4_USE_ACQUIRE 0" to disable

Info : cortex_m reset_config sysresetreq

Info : none separate

Info : tcl server disabled

Info : Listening on port 4445 for telnet connections

Info : CMSIS-DAP: SWD Supported

Info : CMSIS-DAP: JTAG Supported

Info : CMSIS-DAP: FW Version = 2.0.0

Info : CMSIS-DAP: Interface Initialised (SWD)

Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1

Info : CMSIS-DAP: Interface ready

Info : KitProg3: FW version: 2.10.878

Info : KitProg3: Pipelined transfers enabled

Info : VTarget = 0.010 V

Info : kitprog3: acquiring PSoC device...

Error: kitprog3: failed to acquire PSoC device

Info : clock speed 2000 kHz

Error: DAP 'psoc4.cpu' initialization failed (check connection, power, etc.)

Error: Failed to connect to the target device

 

 

Could you please help me out to solve the programming issue

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi @saurabh

Please note that the device CY8C4245AXI-483 belongs to PSoC 4200 family which is not officially supported by Cypress OpenOCD as mentioned in the OpenOCD Readme as shown - 

Rakshith_0-1612791063849.png

 

I also noticed that VTarg is detected as 0.01V - 

Info : VTarget = 0.010 V

Can you please confirm if the device is powered? Are you using an external supply or is the device powered using MiniProg4?

Also, which tool are you using to connect to the device? Can you please try programming the device using PSoC Creator or PSoC Programmer?

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
1 Reply
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi @saurabh

Please note that the device CY8C4245AXI-483 belongs to PSoC 4200 family which is not officially supported by Cypress OpenOCD as mentioned in the OpenOCD Readme as shown - 

Rakshith_0-1612791063849.png

 

I also noticed that VTarg is detected as 0.01V - 

Info : VTarget = 0.010 V

Can you please confirm if the device is powered? Are you using an external supply or is the device powered using MiniProg4?

Also, which tool are you using to connect to the device? Can you please try programming the device using PSoC Creator or PSoC Programmer?

Thanks and Regards,
Rakshith M B
0 Likes