User
User

Reputation: 177

Unable to connect in Win10 to my W5500-EVB-Pico2 ( RP2350 ) via SWD

I 've tried to connect via USB (debugging pins SWDIO, GND, SWCLK) to my W5500-EVB-Pico2 ( RP2350 ) using SEGGER J-Link Commander V8.12b (latest version) in Win10 (x64).

J-Link log:

SEGGER J-Link Commander V8.12b (Compiled Jan 15 2025 12:16:22)
DLL version V8.12b, compiled Jan 15 2025 12:15:23

Connecting to J-Link via USB...O.K.
Firmware: J-Link Pro V5 compiled Dec 10 2024 10:54:44
Hardware version: V5.00
J-Link uptime (since boot): 0d 01h 10m 30s
S/N: 175000183
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
USB speed mode: High speed (480 MBit/s)
IP-Addr: DHCP (no addr. received yet)
VTref=3.263V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: RP2350_M33_0
Type '?' for selection dialog
Device>?
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>4000
Device "RP2350_M33_0" selected.


Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 16us
InitTarget() start
The selected core 0 is currently in RISC-V mode and will now be switched to ARM mode.
InitTarget() end - Took 9.82ms
Failed to attach to CPU. Trying connect under reset.
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 9us
InitTarget() start
The selected core 0 is currently in RISC-V mode and will now be switched to ARM mode.
InitTarget() end - Took 10.9ms
Error occurred: Could not connect to the target device.

Seems like RP2350 is running in RISC-V mode, but I don't want that, I need to running in ARM mode (using Cortex cores). How can I do that?

Even if I choose RISC-V, it doesn't connect! See log below:

SEGGER J-Link Commander V8.12b (Compiled Jan 15 2025 12:16:22)
DLL version V8.12b, compiled Jan 15 2025 12:15:23

Connecting to J-Link via USB...O.K.
Firmware: J-Link Pro V5 compiled Dec 10 2024 10:54:44
Hardware version: V5.00
J-Link uptime (since boot): 0d 01h 29m 02s
S/N: 175000183
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
USB speed mode: High speed (480 MBit/s)
IP-Addr: DHCP (no addr. received yet)
VTref=3.267V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core.
Type '?' for selection dialog
Device>?
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>4000
Device "RP2350_RV32_0" selected.

Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 23us
InitTarget() start
InitTarget() end - Took 3.05ms
Failed to attach to CPU. Trying connect under reset.
Connect failed. Resetting via Reset pin and trying again.
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 45us
InitTarget() start
InitTarget() end - Took 5.16ms
Error occurred: Could not connect to the target device.

What am I missing?

Upvotes: 0

Views: 15

Answers (0)

Related Questions