Logic analysers and sigrok
I have a cheap and cheerful USBee AX PRO logic analyser. It should be supported by sigrok. I may or may not have installed the fx2lafw firmware package at some point somewhere.
For user access, /etc/udev/rules.d/50-local.rules
contains:
## USBee AX
ATTR{idVendor}=="08a9", ATTR{idProduct}=="0014", MODE="0660", GROUP="plugdev"
Plug it in...
usb 5-5: new high-speed USB device number 42 using ehci-pci
usb 5-5: New USB device found, idVendor=08a9, idProduct=0014
usb 5-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-5: Product: fx2lafw
usb 5-5: Manufacturer: sigrok
Test run...
% sigrok-cli --scan
The following devices were found:
demo - Demo device with 8 probes: 0 1 2 3 4 5 6 7
alsa - ALSA: HDA Intel AD1981 Analog with 2 probes: Ch_0 Ch_1
fx2lafw:conn=5.43 - CWAV USBee AX with 8 probes: 0 1 2 3 4 5 6 7
% sigrok-cli --scan
The following devices were found:
demo - Demo device with 8 probes: 0 1 2 3 4 5 6 7
alsa - ALSA: HDA Intel AD1981 Analog with 2 probes: Ch_0 Ch_1
fx2lafw:conn=5.43 - CWAV USBee AX with 8 probes: 0 1 2 3 4 5 6 7
% sigrok-cli -d fx2lafw --show
fx2lafw:conn=5.43 - CWAV USBee AX with 8 probes: 0 1 2 3 4 5 6 7
Supported driver options:
conn
Supported device options:
Supported triggers: 0 1
samplerate - supported samplerates:
20 kHz
25 kHz
50 kHz
100 kHz
200 kHz
250 kHz
500 kHz
1 MHz
2 MHz
3 MHz
4 MHz
6 MHz
8 MHz
12 MHz
16 MHz
24 MHz
% sigrok-cli -d fx2lafw --time 2s -p 1=Tx -o foo.sr
% sigrok-cli -i foo.sr | wc -l 627
% sigrok-cli -i foo.sr | tail -n 2
Tx:11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
Tx:11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
Windows
On Windows , I used Zadig to renumber the USBee clone as WinUSB as the wiki instructs. This appears to work nicely.
Projects and links
- MIDI sniffing
- Protocol decoders