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 :
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board_build.core = earlephilhower
board = adafruit_feather
framework = arduino
debug_tool = jlink
debug_port = :2331
lib_deps =
wollewald/AP3216_WE@^1.2.0
adafruit/Adafruit NeoPixel@^1.10.5
Debug fails with the following messages:
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 -> https://bit.ly/pio-debug
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.