1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-05 03:49:43 +02:00

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
This commit is contained in:
Werner Almesberger 2011-05-17 21:58:09 -03:00
parent d0ab9d92c2
commit 32744af2ab

View File

@ -3,17 +3,11 @@
. ./Common
flash()
{
step "Flash boot loader"
todo
}
enumerate()
{
step "Enumeration"
todo
cmd "usbwait -t 5 20b7:1540 && echo okay"
expect okay
}
@ -24,13 +18,6 @@ led()
}
dfu()
{
step "DFU application"
todo
}
gpio_usb()
{
step "GPIO scan"
@ -46,13 +33,11 @@ xtal_usb()
begin usb.profile
flash
enumerate
led
dfu
# power ?
gpio_usb
# identify # local anomaly (using a 230-based card at the moment)
identify
xtal_usb
spectrum
transmit