User Manual
This is probably caused by an old version of pyusb. Update your pyusb version to 1.0b or higher via the following
command:
$ pip install --upgrade pyusb
You also need to make sure that you have the libusb runtime dll installed on your system, which you can do via this
libusb installer. See the Windows Setup page for details on using this installer though.
My board isn't enumerating as a USB device, or is stuck in DFU mode. How can I re-flash the FeatherLib firmware
directly using dfu-util and restore my device?
You can reflash FeatherLib from the command line by forcing your device into DFU mode. See the first FAQ on this
page for various ways to do this. Once in DFU mode (you'll know you're in DFU mode due to the constant blinky on
the status LED), you can use dfu-util to flash a binary image to the WICED Feather using the following command
syntax:
$ dfu-util -a 0 -s 0x08010000:leave -D featherlib.bin
0x08010000 is that start of the feather lib memory section (see the memory map in System Architecture in this
learning guide for details). To flash a user code binary you would change this value to 0x080E0000.
The 'featherlib.bin' image is available in the 'stm32/featherlib' folder. If you were running this from inside the
/tools/feather_dfu folder you would execute this command as follows:
$ dfu-util -a 0 -s 0x08010000:leave -D ../../stm32/featherlib/featherlib.bin
If you have more than one DFU capable device on your system you can specify the exact USB VID and PID by
adding the following flag:
-d 239a:0008
0x239A is the Vendor ID, and 0x0008 is the Product ID in DFU mode. You can verify the VID and PID values via
`dfu-util --list`.
This should result in output resembling the following;
© Adafruit Industries https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi Page 197 of 202










