Open mithro opened 7 years ago
This work is in progress and can be found at https://github.com/mithro/libsigrok/tree/litescope
It's kind of working!
Code needs a lot of cleanup before it can be sent upstream, but it is slowly getting there.
@paddatrapper & @cr1901 - PTAL.
Hi there, we just discovered your great project and would like to upstream libsigrok support for it. What needs to happen from your point of view to allow this? Is the driver just unpolished or is it buggy and/or lacks essential features? The screenshot above implies that basic functionality is there, so we'd like to upstream it, if possible. Thanks for your great work!
Hi @abraxa, i'll discuss with @mithro in the next days about that and will try to give you a detailed status of the situation. I would also really like to upstream that work to libsigrok.
@abraxa The driver is unpolished and buggy, it needs a bunch of clean up.
@xobs has done some stuff with creating a C library for doing the etherbone stuff needed which should reduce the complexity quite a bit.
A simple proof-of-concept library is available at https://github.com/xobs/wishbone-adapter/. The library is in etherbone.c, with an API exposed in etherbone.h.
As a reference program, you can look at litex-devmem2.c.
Just FYI the parts of my stuff are;
litex-server
allows you to use the Etherbone driver to communicate via PCIe or UART.csr.csv
file created) - simple-csv.h simple-csv.cThere are a bunch of hacks to libsigrok directly. These include;
Hi @mithro , there are many FX2LP+FPGA+RAM logic analyzers on the market. Would you see it possible to adapt this concept to communicate via FX2LP? So it would be possible to create "one firmware rules them all" ? For example I own https://sigrok.org/wiki/Sysclk_LWLA1016 and I'd love to see it running some opensource FW.
Currently litescope supports dumping sigrok data. It would be awesome if instead you could just use a LiteScope system like any other sigrok board.