Where I continue to discus how to debug code on the ATtiny13A on a Linux computer using the Microchip Snap, bloom and avr-gdb. This entry goes into a little more detail as to how to use gdb along with Bloom to debug the ATtiny13A.
Sources#
The code for this article and other articles on the ATtiny13A can be found in the ATtiny13A repository.
Debugging the ATtiny13A — terminal TUI + Bloom Insight#
avr-gdb ──► Bloom ──► SNAP ──► ATtiny13A
(TUI in a (debugWire ↔ (debugWire over RESET)
terminal) GDB server,
Linux only)The recommended front end is avr-gdb’s built-in terminal TUI, optionally alongside Bloom’s Insight GUI for registers/peripherals/memory. Two heavier frontends — gdbgui (browser) and Sublime + DAP — were explored and rejected; see Explored and rejected for why, so the dead ends aren’t re-walked.