|
From: Jared B. <jb...@ea...> - 2011-05-31 06:46:08
|
On May 30, 2011, at 11:38 PM, Jordan J. Riggs wrote: > ~~@tomcat:~/ubertooth/trunk/host/usb_dfu$ python usb_dfu.py write > ~/ubertooth/trunk/firmware/factory_test.bin > Traceback (most recent call last): > File "usb_dfu.py", line 233, in <module> > dfu.enter_dfu_mode() > File "usb_dfu.py", line 153, in enter_dfu_mode > state = dfu.get_state() > File "usb_dfu.py", line 131, in get_state > state_packed = self._device.ctrl_transfer(0xA1, Request.GETSTATE, 0, 0, 1) > File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 678, > in ctrl_transfer > self.__get_timeout(timeout) > File "/usr/local/lib/python2.7/dist-packages/usb/_debug.py", line > 52, in do_trace > return f(*args, **named_args) > File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb10.py", > line 548, in ctrl_transfer > timeout)) > File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb10.py", > line 357, in _check > raise USBError(_str_error[retval.value]) > usb.core.USBError: Pipe error > > Perplexing. > > Jordan Try grabbing an update from SVN. This looks very much like the same timeout problem as specan_ui.py. I made the same change in usb_dfu.py over the weekend, so give it a try and let me know if it helps. - Jared |