[Libre-soc-bugs] [Bug 499] New: Create experimental gdb protocol implementation in nmigen for debugging

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Sep 22 21:34:20 BST 2020


            Bug ID: 499
           Summary: Create experimental gdb protocol implementation in
                    nmigen for debugging
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: programmerjake at gmail.com
          Reporter: programmerjake at gmail.com
                CC: libre-soc-bugs at lists.libre-soc.org, lkcl at lkcl.net,
                    programmerjake at gmail.com
   NLnet milestone: ---

(In reply to Luke Kenneth Casson Leighton from bug #490 comment #20)
> (In reply to Jacob Lifshay from bug #490 comment #19)
> > idk if we will have time, but it might be useful to implement gdb's remote
> > protocol over a serial port.
> in RTL?  very unlikely.

GDB's protocol can be quite simple, IIRC you only need to implement 5-6
commands to have a fully working single-threaded implementation. I'd estimate
1k-3k gates for the FSM and a few hundred gates for the UART. If I'm not needed
for anything else right now, I'll try to implement it today. What frequency
should I use for the reference clock to divide to get the right baud rate?
50MHz? I'm planning at it running at 115,200baud since that's the fastest
commonly supported rate.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list