1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-04-21 12:27:27 +03:00

USB analysis tools

This commit is contained in:
Werner Almesberger
2011-11-16 16:58:24 -03:00
parent 405a1505d1
commit ed85930f36
2 changed files with 139 additions and 0 deletions

12
m1/usb/plot Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
#
# Plot output of "dec"
#
gnuplot -persist <<EOF
set style data lines
plot "_wv" using 1:(\$3-4), \
"_dig" using 1:(\$2*3.3-4) lw 2, \
"_wv" using 1:2, \
"_dig" using 1:(\$3*3.3) lw 2, \
"_clk" using 1:(\$2+1) lt 7
EOF