Hello,
A little delayed, I gave your suggestion a try. Captured a sequence using
Pulseview, selected the area of interest and saved an .sr-file (using "save
selected range as"). I also exported the data as raw binary.
Now I try to process this using sigrok-cli, but with little success.
The following call:
sigrok-cli -i "test.sr"
gives the error message "g_hash_table_lookup: assertion 'hash_table !=
NULL' failed".
I also tried to process the raw data using
sigrok-cli -i "test.raw" -I binary
and seem to get a huge dump of binary data, but I'm not sure what it means.
What are the parameters for entering bit width for example (-I
binary:xxx=32?)
If I could get either way to work, I would like to process the file using a
version of the Parallel filter - it should hopefully be straightforward...
sigrok-cli --version gives the following:
sigrok-cli 0.8.0-git-a30c837
Libraries and features:
- libsigrok 0.6.0-git-0f523f2/4:0:0 (rt: 0.6.0-git-0f523f2/4:0:0).
- Libs:
- glib 2.50.2 (rt: 2.50.2/5002:2)
- libzip 1.1.3
- libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
- libusb-1.0 1.0.20.11003-rc3
- libftdi 1.2
- Host: i686-w64-mingw32.static.posix, little-endian.
- SCPI backends: TCP, serial, USBTMC.
- libsigrokdecode 0.6.0-git-288e22b/4:0:0 (rt: 0.6.0-git-288e22b/4:0:0).
- Libs:
- glib 2.50.2 (rt: 2.50.2/5002:2)
- Python 3.4.4 / 0x30404f0 (API 1013, ABI 3)
- Host: i686-w64-mingw32.static.posix, little-endian.
Any suggestions would be very much appreciated!
Regards,
Staffan
On Wed, Jun 27, 2018 at 8:15 AM Soeren Apel <soe...@apelpie.net> wrote:
> Hello,
>
> > Hopefully I'm missing something obvious...
> > I have decoded some data that was captured with a logic analyzer and
> > now I would like to save only the decoded data (as seen in Pulseview)
> > to a file. Is there any simple way of doing this?
>
> Currently, no. That's still on the to-do list.
>
>
> > I have a dump of an EPROM readout and the decoder does a great job
> > turning bits into address and data. Storing that as raw binary
> > wouldn't be ideal since I would like to have the decoded data...
>
> You can use sigrok-cli for that - I have in the past, so I know it
> works. You can save the .sr file in PV and the decode using sigrok-cli.
> The -B parameter is your friend :)
>
> All the best,
> -Soeren
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel