Arduino IDE 2.0 with Atmel ICE Failed to launch OpenOCD GDB Server

I'm running on Windows 10 and have used Microchip Studio previously with my proprietary SAMD21-based board.
Since Arduino changes have broken the import function in Microchip Studio (and the import was never that smooth anyway) I wish to use the new Arduino IDE 2.0.
My IDE version is 2.0.0-rc5, CLI Version 0.21.0.

However, I get the following error: Failed to launch OpenOCD GDB Server: Timeout.

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
Info : auto-selecting first available session transport "swd". To override use 'transport select '.
none separate
adapter speed: 400 kHz
cortex_m reset_config sysresetreq
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 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'

Any ideas as to what could be wrong? Could it be Firewall related?

Yes. Does it work if you turn the firewall off?

There will be a delay of a week or so before I can try that.
I noticed that rules had been set up for the IDE in the Windows firewall.
Seems odd that nobody else has run into the same problem if that is the issue.
Anyway, I'll update when I get a chance to investigate further.

I doubt that the default firewall rules will pose problems but if you changed anything this might be the cause of your problems.

I disabled the Windows firewall - no change.
No notifications from either Windows or Malwarebytes.
What exactly does ocd_bouncer do and is there a way to get better error reporting?

Don't forget you're using a pre-release software so there might be bugs.

The On-Chip-Debugger is a new feature of the 2.x version of the IDE. It's used for debugging but I haven't tried it yet. At least for the UNO you need additional hardware to use it.

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