aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 407d7bffb673cc68d6ba3d2b6123c030e7760a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
quikgrok - Real-time pipeline protocol decoders
===============================================

quikgrok is a suite of very simple C based filters designed to used in
live shell pipes.

Usage
-----

Offline decode of a capture file:

~~~
sigrok-cli -i uart_log.sr -O binary | \
    bin2tts --bits=8 --sample-rate=1000000 | \
    tts-uart --mask=0x20 --baud-rate=115200
~~~

Live decode from a running system (decode pin 2 of the FX2 device):

~~~
sigrok-cli \
        --driver fx2lafw --config samplerate=1000000 \
        --time=100000s -O binary | \
    bin2tts --bits=8 --sample-rate=1000000 --timeout 10000 | \
    tts-uart --mask=0x20 --baud-rate=115200
~~~