USB device not recognized The last USB device you connected to this computer malfunctioned...

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
RWLTOK
Posts: 16
Joined: Thu Dec 14, 2017 7:24 pm

USB device not recognized The last USB device you connected to this computer malfunctioned...

Post by RWLTOK » Thu Dec 14, 2017 7:40 pm

I am stuck...

I have been working with my PyBoard V1.1 for a day now (just got it yesterday from Adafruit). I updated to pybv10-thread-20171101-v1.9.3.dfu and I have not heard from it since.

I used commands similar to below to update it. The log below is me restoring to pybv10-20170823-v1.9.2.dfu

With the DFU jumper in (BOOTP connected to 3.3V) it can be seen in the device manager as "STM32 BOOTLOADER". When the jumper out: "USB device not recognized The last USB device you connected to this computer malfunctioned, and windows does not recognize it. " is reported by the operating system (Windows 10 Home).

I have also performed the "factory reset procedure" to restore files system to a known state. (found here: https://docs.micropython.org/en/latest/ ... #safe-mode)

Is my board toast? BTW, I get the same results when plugging into several other computers. What is strange is that it works in bootloader mode, so I don't think there is anything wrong with the hardware. Also, the ST SfuSe Demo (v3.0.5) does not list any available DFU Devices.

[Additional information]
When looking at the device details in the Device manager it reports, "Unknown USB Device (Device Descriptor Request Failed)"

Anyone?

Thanks

Rich



C:\Users\richa\Downloads\dfu-util-0.9-win64\dfu-util-0.9-win64>dfu-util.exe -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Cannot open DFU device 17e9:4323
Found DFU: [0483:df11] ver=2200, devnum=50, cfg=1, intf=0, path="1-2.4.3.1", alt=3, name="@Device Feature/0xFFFF0000/01*004 e", serial="367D32613036"
Found DFU: [0483:df11] ver=2200, devnum=50, cfg=1, intf=0, path="1-2.4.3.1", alt=2, name="@OTP Memory /0x1FFF7800/01*512 e,01*016 e", serial="367D32613036"
Found DFU: [0483:df11] ver=2200, devnum=50, cfg=1, intf=0, path="1-2.4.3.1", alt=1, name="@Option Bytes /0x1FFFC000/01*016 e", serial="367D32613036"
Found DFU: [0483:df11] ver=2200, devnum=50, cfg=1, intf=0, path="1-2.4.3.1", alt=0, name="@Internal Flash /0x08000000/04*016Kg,01*064Kg,07*128Kg", serial="367D32613036"

C:\Users\richa\Downloads\dfu-util-0.9-win64\dfu-util-0.9-win64>dfu-util.exe --alt 0 -D C:\Users\richa\Downloads\pybv10-20170823-v1.9.2.dfu
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Match vendor ID from file: 0483
Match product ID from file: df11
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
file contains 1 DFU images
parsing DFU image 1
image for alternate setting 0, (2 elements, total size = 324016)
parsing element 1, address = 0x08000000, size = 14940
Download [=========================] 100% 14940 bytes
Download done.
parsing element 2, address = 0x08020000, size = 309060
Download [=========================] 100% 309060 bytes
Download done.
done parsing DfuSe file
Last edited by RWLTOK on Thu Dec 14, 2017 7:52 pm, edited 1 time in total.

User avatar
RWLTOK
Posts: 16
Joined: Thu Dec 14, 2017 7:24 pm

Re: USB device not recognized The last USB device you connected to this computer malfunctioned...

Post by RWLTOK » Thu Dec 14, 2017 8:10 pm

Thanks. A rookie mistake. :)

I am back in business.

AgentTripleZero
Posts: 2
Joined: Mon Jan 14, 2019 6:54 am

Re: USB device not recognized The last USB device you connected to this computer malfunctioned...

Post by AgentTripleZero » Mon Jan 14, 2019 6:57 am

Hi RWLTOK, what was the solution to your problem here? I am having the same issue now...

Post Reply