Forum > Debugger

Debugging AVR over debugWIRE with FPC server

(1/1)

ccrause:
I've translated the dwire-debug program into Pascal.  There was an annoyance in its gdbserver implementation which didn't get addressed.  I also realized that the gdbserver implementation doesn't actually use the hardware breakpoint available, it rather (from gdb side) force software breakpoints to be written to flash.

The Pascal debugwire tool is here. Yes, I couldn't think of either a catchy or original name for the project...

Features:

* Focus on gdb feature support so that it can be used with Lazarus for on chip debugging.
* Internal break point manager, which prioritizes the use of the hardware break point.  Currently the software break points feature disabled, so only a single breakpoint can be active at a time.  If more than one breakpoint is currently set, only the first one will be active.  If it is deleted the next break point will become active.
* Can download binary to chip from gdb using load command.

Navigation

[0] Message Index

Go to full version