Initializing... Resetting debug bus... Debug bridge ID: APB_ Debug ROM address: ...

@azonenberg@ioc.exchange

Initializing...
Resetting debug bus...
Debug bridge ID: APB_
Debug ROM address: 0x40000000
[0] type = 4750494f (GPIO) at 0x40000400

Good progress - I'm able to read and write 32-bit APB registers over the debug UART, find a ROM table describing the locations of debug IPs on the bus, and print out the descriptors.

This is running on a Ti375 but should be portable to basically any FPGA.

The next step will be to bring up a SCPI server for each detected debug IP. Libscopehal's data model does not like having multiple instruments using a single transport, so I'm adding a bridge server that connects to the UART and will expose one SCPI server per debug IP that can be exposed as a scopehal instrument.

So I need to define a SCPI protocol for my existing APB_GPIO core (just a 32-bit bidirectional GPIO block without any particular grouping of GPIOs into multi-bit vectors) and add ngscopeclient-side UI for that.

Then I can start thinking about designing new, debug-specific blocks such as something resembling the Xilinx VIO (with multi-bit vector support), an ILA, and - most exciting for me in the near term - a SERDES ILA that natively captures 8b10b or 64b66b codewords when a trigger event is received.