/pyavrdebug

GDB RSP server implementation for debugging AVR MCUs with UPDI using Microchip CMSIS-DAP based debuggers

Primary LanguagePythonMIT LicenseMIT

pyavrdebug

pyavrdebug is a GDB RSP server for connecting GDB debug clients to AVR target devices through pymcuprog

Usage

pyavrdebug can be used to debug AVR UPDI devices via GDB

For example:

  1. Program code using pymcuprog:
pymcuprog write --erase -d atmega4808 -f firmware.hex
  1. Attach GDB session to the AVR
pyavrdebug -d atmega4808
  1. Start a GDB debugging session on localhost:4712