Date:2011-05-18 02:58:09 (12 years 10 months ago)
Author:Werner Almesberger
Commit:32744af2ab9efe4ce32a6bf66322770ab5f60415
Message:prod/atusb: separated flashing from testing; added enumeration and ID test

- atusb (flash, dfu): removed (to be handled by separate script)
- atusb (enumerate): implemented enumeration test
- atusb: enabled "identify", since the local anomaly has been solved
Files: prod/atusb (3 diffs)

Change Details

prod/atusb
33. ./Common
44
55
6flash()
7{
8    step "Flash boot loader"
9    todo
10}
11
12
136enumerate()
147{
158    step "Enumeration"
16    todo
9    cmd "usbwait -t 5 20b7:1540 && echo okay"
10    expect okay
1711}
1812
1913
...... 
2418}
2519
2620
27dfu()
28{
29    step "DFU application"
30    todo
31}
32
33
3421gpio_usb()
3522{
3623    step "GPIO scan"
...... 
4633
4734
4835begin usb.profile
49flash
5036enumerate
5137led
52dfu
5338# power ?
5439gpio_usb
55# identify # local anomaly (using a 230-based card at the moment)
40identify
5641xtal_usb
5742spectrum
5843transmit

Archive Download the corresponding diff file



interactive