Not sure when the download progress was removed when using particle flash --usb …
Please put it back. Its was nice to know it was connected and doing something instead of issuing the command and it just sitting there keeping you in suspense if its downloading or going to come back with an error.
I don’t think Particle has changed anything there.
BTW, the actual DFU flashing is done via dfu-util which isn’t a native Particle tool.
Not sure I fully understand. When using CLI and I type that command to flash who then is responsible for actually flashing? Or in other words, if you guys didn’t write the program to flash it, then who did so I can ask them to put that feature back in.
Hi @seulater
Why don’t you show us the output you are getting? Something is going wrong and we are not sure what.
The actual flashing over USB is done by a general purpose utility program called “dfu-util” and it is used to update many kinds of devices over USB. Particle uses but did not write this program.
Just for clarification: The bunch of people that are tagged "Elite" are no Particle employees, so whether or not Particle had written that piece of software (which they haven't) you guys wouldn't include us forum mods - who are donating their time to the community for free.
Just so you know, it works just fine. Its just before when I issued the command to flash it used to show an update progress as its was sending it to the device. Ever since updating to get rid of the BSOD issue it does not do it anymore, and I liked that feature is all. This is all it does now.
Ok, thank you. I thought Particle made that for its devices, and they were the ones who removed that feature.
If you add the -v
option to the CLI flash command, it will show the output from dfu-util:
$ particle --version
1.29.0
$ particle flash --usb -v firmware.bin
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/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 4196
Download [=========================] 100% 4196 bytes
Download done.
File downloaded successfully
Flash success!
Thank you!