Closed gsomlo closed 10 months ago
There were some jtagbone performance improvements recently merged from: #1433: are your changes on top of the master version with those updates?
I've had similar issues (timeouts) with etherbone but haven't spent much time investing.
On Fri, Dec 29, 2023 at 03:56:56PM -0800, AndrewD wrote:
are your changes on top of the master version with those updates?
I should have probably mentioned -- all of my work is using the latest available upstream sources. Thanks!
Update: if I dial down the depth = 512
from LiteScopeAnalyzer()
to depth = 64
, the *.vcd
dump is uploaded successfully via litescope_cli
. So this appears to be related to the size of the data sample that is (attempted to be) captured perhaps exceeding some limit and erroring out less than gracefully as a consequence?
Good to hear. The problem is an occasional packet error and a smaller buffer requires less packets. I found the behavior can also be improved by capturing leas signals: eg reduce the buffer width instead of depth.
I'm going to close this for now, as it seems to be mostly working when the data width x depth
capture size is kept below "reasonable" limits...
I'm trying to debug the AXI up-converter as pertaining to the RocketChip DMA -> MEM -> LiteDRAM path, and wanted to use LiteScope with jtagbone for that purpose.
First, I applied the following patch to LiteX:
which is to say, I want to look at the (narrow) DMA port (
l2fb_axi
) and the (wide) LiteDRAM port, either 1:1 (if rocket is instantiated with a mem port matching the width of LiteDRAM), or after up-conversion (if rocket's mem port is narrower than LiteDRAM).I then built bitstream for the
nexys_video
like so:After programming the board with the resulting bitstream, I started
litex_server
with the following command line (and output):Note that
Connected with 127.0.0.1:49400
showed up after launchinglitescope_cli
as shown below:I then issued the
sataboot
command to the LiteX bios via the serial console, and got the following output fromlitescope_cli
:Am I doing something wrong or missing some necessary step in the process? (@enjoy-digital -- any feedback and/or advice much appreciated!)