I can't get sigrok-cli to output an srzip session-dump.
This is on BeagleLogic and I know this is not a low-level acquisition
problem (fw/kernel/parameters/hardware) because other output modes work
fine (e.g. VCD shows the correct waveforms in gtkwave, protocol decoders
print meaningful data to stdout, etc.)

Trying to understand the issue, I started reading srzip.c, and at first
I thought it might be refusing to add the chunk because it somehow
thought there were no enabled channels (viz. around line 149). However,
seeing that the member "metadata" contains "capturefile=logic-1", and
everything else (samplerate, total probes, probe names,...) is in order,
I know this is not the problem.  I am trying to understand what's going
on from line 332 and below, but there is basically no tracing: there are
only sr_err()'s when zip_*() fail; but I don't observe any error in the
terminal, and in the absence of informational output, I don't know how
to trace what was executed.

Any suggestions how to debug this further?  Is my only option, to bite
the bullet and step through this in gdb?


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to