The Connected J-Link does not support SWD multi-drop -RP2040

Hi All,

I was trying to get the Feather RP2040 to work as explained in Arduino-Pico (Earlephilhower) support . While I am able to compile and upload the code, debugging fails.

Here is my platform.ini :

platform =
board_build.core = earlephilhower
board = adafruit_feather
framework = arduino
debug_tool = jlink
debug_port = :2331
lib_deps =
    adafruit/Adafruit NeoPixel@^1.10.5

Debug fails with the following messages:

2022-07-08 10_34_53-Window

2022-07-08 10_35_34-Window

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
S/N: 87461523
Feature(s): RDI, FlashBP, FlashDL, JFlash, GDBFull
Checking target voltage...
Target voltage: 
3.28 V
Listening on TCP/IP port 2331
Connecting to target...
ERROR: Specific core setup failed.
ERROR: Could not connect to target.
Target connection failed. GDBServer will be closed...
Restoring target state and closing J-Link connection...
Shutting down...
undefinedCould not connect to target.

Please check power, connection and settings.
Reading symbols from c:\Users\thomas\Documents\PlatformIO\Projects\RP2040_Tests\.pio\build\pico\firmware.elf...
PlatformIO Unified Debugger ->
PlatformIO: debug_tool = jlink
PlatformIO: Initializing remote target...
.pioinit:16: Error in sourced command file:
:2331: No connection could be made because the target machine actively refused it.

Would this be due to the J-Link being the older V8? Or am I missing something in my platform.ini.

As I understand it it’s a JLink limitation. JLink base V8 has an explicit X on SWD Multi-Drop: J-Link BASE V8 - SEGGER Wiki

Earliest one to support it is a JLink Base or EDU V10 or a JLink EDU V11 per J-Link Model Overview - SEGGER Wiki.

Also see [SOLVED] RP2040 Support - J-Link/Flasher related - SEGGER - Forum.

1 Like