pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
198 stars 167 forks source link

Impossible to load firmware :96% 15808 bytesdfu-util: Error sending completion packet #543

Open jacquesj1 opened 3 years ago

jacquesj1 commented 3 years ago

Please include the following information when submitting a bug report:

Hello, I'm following all recommandatins to load the last firmware on my pysense. When I execute sudo dfu-util -D /home/jj/Téléchargements/pysense_0.0.8.dfu The result is always the same :

Match vendor ID from file: 04d8 Match product ID from file: f011 Opening DFU capable USB device... ID 04d8:f011 Run-time device DFU version 0100 Claiming USB DFU Runtime Interface... Determining device status: state = dfuIDLE, status = 0 dfu-util: WARNING: Runtime device already in DFU state ?!? Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0100 Device returned transfer size 64 Copying data from PC to DFU device Download [======================== ] 96% 15808 bytesdfu-util: Error sending completion packet

What' s wrong ?

Is it a problem of usb ? Is it possible to have all the procedure to update the firmware ?

Tnaks, Best regards

gijsio commented 3 years ago

Hi, Could you let me know of the version of dfu-util and libusb you're using? If not the latest (0.10 and 1.0.24 respectively) could you update to the latest and try again?