Click here to Skip to main content
15,868,141 members
Articles / Internet of Things / Arduino

Debugging an Arduino project with GDB on Classic ATtiny and Small ATmega MCUs

Rate me:
Please Sign up or sign in to vote.
5.00/5 (15 votes)
12 Mar 2022GPL324 min read 44.1K   335   30  
A tutorial for people who finally want to debug their Arduino projects that run on AVR MCUs using the GNU project debugger GDB
The current Arduino IDE does unfortunately not support debugging. Even the new beta version supports debugging only for ARM MCUs. With a few easy steps, it is nevertheless possible to use avr-gdb in order to debug your Arduino project on many AVR chips. In this article, I will focus on MCUs that support debugWIRE, i.e., the classic ATtinys and the ATmegaX8 family.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Retired
Germany Germany
Arduino addict

Comments and Discussions