6/16/2023 0 Comments Gdb install windowsIn this article, I will address the above question. So the question is in how far it is possible to interface the mentioned AVR MCUs to GDB. In fact, this is the debugger you find in many IDEs for embedded development, e.g., PlatformIO and Arduino IDE 2.0. The most popular open-source debugger is GDB, The GNU Project Debugger. However, you would be forced to a quite different software eco system and some people are not thrilled by these IDEs. The hardware debuggers are not exactly for free, while the IDEs are. There is support from Microchip in the form of hardware debuggers and proprietary IDEs (Microchip Studio and MPLAB) on a professional level. The chips mentioned support the debugWIRE protocol, which one can use to access the on-chip debugging hardware on these MCUs. However, there should be more sophisticated ways. So what can you do when you want to debug your Arduino project on small ATmegas (such as the popular ATmega328) or classic ATtinys? The usual way is to insert print statements and see whether the program does the things it is supposed to do. In particular, the current IDE does not support any kind of debugging. After a while, however, one notes that a lot of important features are missing. ![]() The Arduino IDE is very simple and makes it easy to get started.
0 Comments
Leave a Reply. |