Arduino IDE 2.3.4 debug for MKRWAN 1310 fails

I'm using Arduino IDE 2.3.4 with CLI version 1.1.1
I have a new MKRWAN 1310 with a header soldered into the debug port on the bottom and an Atmel-ICE with the debug cable plugged into the SAM port and plugged into the bottom. Both the MKRWAN and Atmel-ICE have USB cables plugged into my laptop. I previously used VSCode to debug the MKR-NB-1500, but realized this morning they had deprecated the Arduino extension in VSCode.
When I try to debug,even with a blank sketch, I get an error "OpenOCD: GDB Server Quit Unexpectedly" and refers to the GDB-server log, but there's no obvious fault..

[2025-03-03T16:08:49.622Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions.
"C:\\Users\\dnear\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\openocd\\0.10.0-arduino7/bin/openocd" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "c:\\Users\\dnear\\AppData\\Local\\Temp\\.arduinoIDE-unsaved202523-14412-1qdjpf.minw6\\sketch_mar3a" -f "C:/Program Files/Arduino IDE/resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl" -f "C:\\Users\\dnear\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.14/variants/mkrwan1300/openocd_scripts/arduino_zero.cfg"
Open On-Chip Debugger 0.10.0+dev-gf0767a31 (2018-06-11-13:36)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
CDRTOSConfigure
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
none separate
adapter speed: 400 kHz
cortex_m reset_config sysresetreq
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Info : CMSIS-DAP: SWD  Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 1.0
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 400 kHz
in procedure 'init' 
in procedure 'ocd_bouncer'

[2025-03-03T16:08:49.798Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closed
GDB server session ended. This terminal will be reused, waiting for next session to start...

Am I missing something?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.