New error with j-link debugger

Not sure what I did to break this but suddenly my project isn’t using my Segger J-Link Base Compact to upload code. I am getting the following message…

Configuring upload protocol…
AVAILABLE: blackmagic, cmsis-dap, jlink, nrfjprog, nrfutil, sam-ba
CURRENT: upload_protocol = sam-ba
Looking for upload port…
Auto-detected: COM1
Forcing reset using 1200bps open/close on port COM1
Waiting for the new upload port…
Uploading .pio\build\nano33ble\firmware.bin
No device found on COM1
*** [upload] Error 1

The PlatformIO.ini file is:

platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
debug_tool = jlink
; SWD interface
upload_protocol = jlink
; JTAG interface
upload_protocol = jlink-jtag

Can someone tell me what I am doing wrong?


I added “monitor_speed = 115200” to the PIO.ini and removed the “upload_protocol = jlink-jtag” and it looks like everything is OK again.