Root/prod/atusb

Source at commit 86ea428afcef59fd87407fe10ccd84c7294873a5 created 9 years 4 months ago.
By Werner Almesberger, prod/doc/analysis.html: emphasize that 1 MHz clock is normal without firmware
1#!/bin/sh
2
3. ./Common
4
5
6enumerate()
7{
8    step "Enumeration"
9    cmd "usbwait -t 5 20b7:1540 && echo okay"
10    expect okay
11}
12
13
14led()
15{
16    step "LED"
17    todo
18}
19
20
21gpio_usb()
22{
23    step "GPIO scan"
24    todo
25}
26
27
28xtal_usb()
29{
30    step "Crystal frequency"
31    todo
32}
33
34
35begin usb.profile
36enumerate
37led
38# power ?
39gpio_usb
40identify
41xtal_usb
42spectrum
43transmit
44

Archive Download this file



interactive