Opta Crashes. Open On-Chip Debugger

I've Just hooked up my Opta and have the Arduino IDE seeing the board and Com port , but it never runs any sketches. the error im getting is

Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
CDRTOSConfigure
embedded:startup.tcl:26: Error: Can't find interface/{programmer.protocol}.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 26
[2025-02-26T19:29:58.996Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closed
GDB server session ended. This terminal will be reused, waiting for next session to start...

Hi @vnxforge. This error indicates you are clicking the "Start Debugging" button on the Arduino IDE toolbar. The "Start Debugging" button is used to initialize [Arduino IDE's integrated sketch debugger:

https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-debugger

This is an advanced feature that can only be used with specific hardware. I am not very knowledgeable about the Opta (my work is in other areas) 'm not sure how easy it is to use with the Opta (except in the rare cases where there is a built-in debug probe, we must connect a separate debug probe to specific pins on the board).

If you want the Opta to run a sketch the problem is simply that you are clicking the wrong button. You should instead click the button that looks like a rightward pointing arrow ("Upload"):

Clicking the button will compile the sketch you have open in the current Arduino IDE window, then upload it to the Opta. After that process completes successfully the sketch program will start running on the Opta.

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