* * *

Author Topic: Debugging AVR over debugWIRE with FPC server  (Read 532 times)

ccrause

  • Full Member
  • ***
  • Posts: 120
Debugging AVR over debugWIRE with FPC server
« on: June 10, 2018, 12:31:57 am »
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.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus