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

cross mob
XJin
Level 1
Level 1
First question asked Welcome!

HW: just get CYW920820M2EVB-01

SW: install ModusToolbox-2.4

lightblue on phone can find this device.--- the board works properly.

Download and build HAL_PUART with no problem.

issue met when try to download the HAL_PUART image:

Started by GNU MCU Eclipse
Open On-Chip Debugger 0.11.0+dev-4.3.0.1746 (2021-09-16-07:59)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
cortex_m reset_config sysresetreq
force hard breakpoints
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf155, serial=091E0F1D03201400
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands 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.30.1155
Info : KitProg3: Pipelined transfers enabled
Info : VTarget = 3.000 V
Info : clock speed 10000 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'CYW20820A1.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Info : CYW20820A1.dap: powering down debug domain...
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Warn : Failed to power down Debug Domains

"

question:

Do i have to set  mode to "kp3-daplink"?

I fail to set mode to "kp3-daplink" and can set to other mode with no problem.

"Info: Start API initialization
Info: Connected - KitProg3 CMSIS-DAP BULK-091E0F1D03201400
Info: Hardware initialization complete 534 ms
Info: Disconnected - KitProg3 CMSIS-DAP BULK-091E0F1D03201400
Info: Connected - KitProg3 CMSIS-DAP BULK-091E0F1D03201400
Info: Disconnected - KitProg3 CMSIS-DAP BULK-091E0F1D03201400
Info: Connected - KitProg3 CMSIS-DAP BULK-091E0F1D03201400
Error: Wait for device DAPLink connect is timed out
Mode switch on 'KitProg3 CMSIS-DAP BULK-091E0F1D03201400' device failed.

"

"

$ ./fw-loader --mode kp3-bulk
Cypress Firmware Updater, Version: 3.3.0.1370
(C) Copyright 2018-2021 by Cypress Semiconductor Corporation (an Infineon company)
All Rights Reserved

Info: Start API initialization
Info: Connected - KitProg3 CMSIS-DAP BULK-091E0F1D03201400
Info: Hardware initialization complete 573 ms
Mode switch completed successfully

"

 

 

0 Likes
1 Solution
advait_kulkarni
Moderator
Moderator
Moderator
First question asked 25 likes received 250 sign-ins

Hi @XJin ,

The kit does use Kitprog so you will have to switch to daplink mode.

Please refer to this guide: https://www.infineon.com/dgdl/Infineon-KitProg3_User_Guide-UserManual-v01_00-EN.pdf?fileId=8ac78c8c7... for steps to switch to daplink mode and see if it works for you.

Thanks and regards,

Advait Kulkarni

View solution in original post

0 Likes
1 Reply
advait_kulkarni
Moderator
Moderator
Moderator
First question asked 25 likes received 250 sign-ins

Hi @XJin ,

The kit does use Kitprog so you will have to switch to daplink mode.

Please refer to this guide: https://www.infineon.com/dgdl/Infineon-KitProg3_User_Guide-UserManual-v01_00-EN.pdf?fileId=8ac78c8c7... for steps to switch to daplink mode and see if it works for you.

Thanks and regards,

Advait Kulkarni

0 Likes