AVR-GDBServer
dwire-debug
AVR-GDBServer | dwire-debug | |
---|---|---|
1 | 5 | |
19 | 184 | |
- | - | |
10.0 | 0.0 | |
about 3 years ago | over 1 year ago | |
C | C | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AVR-GDBServer
-
AVR GDB is Showing All Variables as 0
USBtinyISP is for programming only, it cannot be used for debugging. For hardware debugging you either need a proper debugger probe (e.g. MPLAB Snap or MPLAB PICkit) together with MPLAB X or Microchip Studio, or for debugwire capable controllers (such as the atmega328p on the Uno) one can use a USB-serial converter together with custom debugger software such as dwire-debug, debugwire-gdb-bridge or WireDebugger. There are other options, such as an embedded gdbserver stub or an Arduino based debugger.
dwire-debug
- Atmega328P assembly program not working? (it really should)
-
What? More 8-Bit Microcontrollers?
AVR might be not optimal in mathematical sense, but it feels so nice:
- Tons of registers, up to a point, there are parts with no RAM, and they are fairly usable;
- Great code density for embedded - single-instructions atomic bit set/bit reset, etc;
- In general, pretty easy to learn and usable instruction set;
- Brilliant debugging interface that uses zero extra pins (reset pin is reused), and hardware-wise, interfacing requires serial port + one diode, that's it [0]
[0] https://github.com/dcwbrown/dwire-debug
-
AVR GDB is Showing All Variables as 0
USBtinyISP is for programming only, it cannot be used for debugging. For hardware debugging you either need a proper debugger probe (e.g. MPLAB Snap or MPLAB PICkit) together with MPLAB X or Microchip Studio, or for debugwire capable controllers (such as the atmega328p on the Uno) one can use a USB-serial converter together with custom debugger software such as dwire-debug, debugwire-gdb-bridge or WireDebugger. There are other options, such as an embedded gdbserver stub or an Arduino based debugger.
- Is it possible to make an embedded bootloader that can be used to both load and debug code in a microcontroller? Just wanted to avoid using a fancy/expensive debug tool that wouldn't work with a newer line of chips
- ATtiny13a behaving strangely with delay() and millis().
What are some alternatives?
debugwire-gdb-bridge - DebugWIRE server
DebugWireDebuggerProgrammer - An Arduino Sketch that can control and debug other AVR MCU's using the debugWire Protocol
WireDebugger - Debug AVRs with DebugWire via SerialPort
blackmagic - In application debugger for ARM Cortex microcontrollers.
hn-search - Hacker News Search