Debuggoid

Quick description

The Debuggoid is a wireless debugger based on the Black Magic Probe software. The software was tailored to the esp8266, which allows wireless debugging of Blackmagic-supported ARM targets through SWD. Nodes such as the Yahu or Nomi can be programmed and debugged using the Debuggoid.

The Debuggoid is also a Serial-to-MQTT bridge: it enables MQTT interaction with the serial console of the target. Console messages produced by the target are published on a dedicated topic on the MQTT broker; thus, published messages on another MQTT topic are sent to the serial console of the target.

Debuggoid

The Debuggoid has been designed by the IRIT lab in Toulouse, France (Institut de Recherche en Informatique de Toulouse).

Tutorials

A Debuggoid connected to a target (Yahu)

Pinout

Serial Console/UART

The TX pin of the Debuggoid is the RX pin of the esp8266. Thus pluging the RX pin of a 3.3V USB-UART data cable on the TX pin of the Debuggoid will allow printing locally the console of the target connected on the SWD port, without using the MQTT-bridge feature of the Debuggoid.

RGB LED

The Debuggoid gives feedback on a RGB LED.

RGB LED ESP8266 GPIO
Red GPIO4
Green GPIO5
Blue GPIO16

RGB LED is positive logic: setting GPIO to HIGH will power-up the LED.

Interaction with debuggoid firmware

The RGB LED is used by the debuggoid firmware to indicate the status of the debug:

Color State
Blue WiFi connected
Green WiFi and MQTT connected
Orange Config mode
Red Error

Technical description

Libraries