Commit Graph

8 Commits

Author SHA1 Message Date
David Anderson af91f1bda8 debugger/Debugger: add an actual debug module
Introduces a new serial wire format, and a ReadRange command to
dump larger chunks of memory at once.
2024-09-18 21:23:22 -07:00
David Anderson 700a301468 debugger: more UI tweaks and playing with layout 2024-09-16 19:23:37 -07:00
David Anderson 8c729698a8 debugger: implement scrolling in the hex view 2024-09-16 16:10:24 -07:00
David Anderson e2f4103fdc debugger: more hacking, hex editor with full editing now works 2024-09-16 15:53:55 -07:00
David Anderson 12ddbeb508 debugger: start of a debugging TUI for GARY
Uses the serial debug module and currently only works with
hardware/ulx3s, probably only on my specific machine where the
USB serial port is mapped _just so_. But it does work. Very WIP
unclean code, but checkpointing because it can hex view and hexedit
correctly.
2024-09-16 11:20:20 -07:00
David Anderson d3ab2fa433 debugger: start of a debugger client that uses the serial debug gateware 2024-09-14 20:32:40 -07:00
David Anderson 8ab867d2d2 lib/UART: move from debugger, it's generic enough 2024-09-13 23:05:48 -07:00
David Anderson 379ebf0411 debugger/UART: implement a UART with RTS/CTS flow control
In practice the flow control is unusable on ULX3S dev boards because
the CTS line isn't hooked up (it's instead wired to JTAG_TDO, to enable
the USB<>UART chip to serve a dual purpose as a bitbanged JTAG programmer)

Still, support for flow control is nice, for the future. And the UART
itself also works regardless of flow control, which is of course nice.
2024-09-13 21:24:29 -07:00