Customer:
I just got my Inkplate 2 and installed Arduino IDE, Boards and Libraries on Mac OS Sonoma without installing drivers. When I connect it, select it and try to update the Inkplate 2 code, I get this error:
“OpenOCD: GDB Server Quit Unexpectedly. See gdb-server output for more details.”
Am I missing something?
Attachment omitted in migration: CleanShot 2024-08-22 at
Originally submitted via email support on 22 August 2024. Migrated to the forum for community visibility.
Soldered Support:
Your tools menu looks good—“Esptool” as a programmer is correct; it’s the Python script that uploads code to ESP32 via USB and comes with the board definition. The error from OpenOCD is odd since it shouldn’t be involved with ESPtool.
Try this quick fix:
- Select a different programmer
- Try uploading code again (it will fail)
- Go back to ESPtool and try uploading again
This might help Arduino find and use esptool correctly.
If the issue persists, try Arduino 1.8 (the legacy version), which doesn’t have some of these compatibility issues:
Removing Arduino 2.0 and Cache:
- Quit Arduino 2.0 completely
- Open Applications folder and drag Arduino 2.0 to Trash
- Empty the Trash
- Open Finder and press Cmd + Shift + G to open “Go to Folder”
- Enter ~/Library/Arduino15 and delete the entire folder
- Navigate to ~/Library/Caches/cc.arduino and delete this folder
Installing Arduino 1.8 Legacy:
- Visit https://www.arduino.cc/en/software/OldSoftwareReleases
- Download the Arduino 1.8.x version for macOS
- Open the downloaded .zip file
- Drag the Arduino application to the Applications folder
- Open Arduino 1.8 from the Applications folder
After this, reinstall the Inkplate board definitions. Then try uploading the black-white-red example to Inkplate 2.
Note: You won’t need to keep using Arduino 1.8 long-term. For development, VS Code with the Arduino extension works very well.