Start debugging (in my case an Attiny with usbASP)
Actual Results
VSCode prompts the following error under debug console:
undefinedPython Exception <type 'exceptions.ImportError'> No module named gdb:
warning:
Could not load the Python gdb module from '/home/nvidia/jenkins/workspace/avr-gcc-staging/label/nvidia-jetson-aarch64/objdir/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.
AVR debug probes and open-source GDB servers are poorly supported in my opinion. Microchip’s Atmel Studio is the only stable proprietary solution, see Custom AVR XMEGA board - #11 by maxgerhardt.
Unfortunately it is an attiny2313. I thought I can just use the MOSI, MISO, SCK pins because the PIO documentation said that JTAG is enabled on this chip and no external debugger needed.
The only options now I have are simavr and custom, where simavr is definitely not what I want. (and yes, I can document the bug and create a ticket when I have time the next days)
Do you know any serial debugger / stub debugger which would fit into the 2K flash of the Attiny?
Even then I would not be able to debug my own UART because the single hardware UART would then be taken by the serial debugger.
When the documentation had been more clearly, I would not have wasted money into hardware which is currently very unsupported.