Spagett1 / pineflash

A tool to flash ironos to the pinecil soldering iron and possibly other pine64 devices in the future
Other
235 stars 13 forks source link

More than one DFU capable USB device found! #45

Open adicon opened 1 year ago

adicon commented 1 year ago

I got failed trying uploading new firmware to my Pinecil V1.

Going through dfu-util, I get this error:

dfu-util 0.9

Match vendor ID from file: 28e9
Match product ID from file: 0189
dfu-util: More than one DFU capable USB device found! Try `--list' and specify the serial number or disconnect all but one device

listing devices I obtain:

udo dfu-util --list
dfu-util 0.9

Found Runtime: [0bda:5517] ver=0421, devnum=3, cfg=1, intf=4, path="2-6", alt=0, name="Camera DFU Device", serial="200901010001"
Found DFU: [28e9:0189] ver=0100, devnum=12, cfg=1, intf=0, path="2-8", alt=1, name="@Option Bytes  /0x1FFFF800/01*016Be", serial="??"
Found DFU: [28e9:0189] ver=0100, devnum=12, cfg=1, intf=0, path="2-8", alt=0, name="@Internal Flash  /0x08000000/128*001Kg", serial="??"

So, finally, I gave this command to update my device: dfu-util -d 28e9:0189 -a 0 -D Pinecil_IT.dfu

River-Mochi commented 1 year ago

The newest dfu is 0.11 version which is newer than 0.9 and seems to cause less issues.

The dfu-util that is included in /Pineflash/tools folder I received is indeed the newest 0.11 version.
is this 0.9 version you are using something you installed independently? try 0.11 update, people do tend to have less issues with Pinecil V1 on 0.11 dfu-util - older version was especiallly problematic for linux people who reported different frustration but all resolved once they updated to 0.11 dfu.

https://github.com/Ralim/IronOS/blob/dev/Documentation/Flashing/Pinecil%20V1.md#linux-and-mac

If you use Pineflash to update, then it should know to use the dfu-utill 0.11 newer one that it came with and not this older 0.9 version. Either way, it's a good idea to remove dfu 0.9 and update to 0.11

https://dfu-util.sourceforge.net/ image