Particles-cli cannot find DFU devices

Nothing changed between the 2 runs. But through particles DFU can find 2

[root@localhost ~]# sudo particle flash --usb tinker
Apparently I didn't find a DFU device? util said  
Error writing firmware... no dfu device found.
[root@localhost ~]# dfu-util -l
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Found DFU: [2b04:d006] ver=0200, devnum=28, cfg=1, intf=0, alt=1, name="@DCT Flash   /0x00000000/01*016Kg", serial="00000000010C"
Found DFU: [2b04:d006] ver=0200, devnum=28, cfg=1, intf=0, alt=0, name="@Internal Flash   /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg", serial="00000000010C"
[root@localhost ~]#

Hey there, are you trying the say that the firmware was not flashed?

"sudo particle flash --usb tinker"
This should flash the firmware, but it failed.
Centos 7, dfu-util 0.8, latest particl-cli 1.15

I guess it doesn’t work with particle flash --usb tinker as well?

Device flashing yellow (in dfu mode)

➜ ~ dfu-util -l
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

dfu-util: Cannot open DFU device 2b04:d006
➜ ~ particle flash --usb tinker
Apparently I didn’t find a DFU device? util said dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Error writing firmware… no dfu device found.

Hmmm…

I’m not entirely sure if it’s an issue with your account requiring sudo dfu-util -l in order to list things properly…

Anyway, what are you want to flash via DFU? We can use the DFU-commands for now.

flash a simple analog read and print back to serial command app.

Would you prefer to use the Web IDE and flash via OTA for now?

It will be great for the application that you want to do since using the particle-cli you still need to compile code and flash via DFU

If I am at home, I would be able to play with Web IDE. But When I am at work, I am behind many layers of proxy and filtering (those stuff blocks certain communication). particle-cli is the only viable solution when I am at work. (Corporate laptop has usb ports locked, so I am using my personal laptop via guest network(

Ok so the command will be:

dfu-util -d 2b04:d006 -a 0 -s 0x80A0000:leave -D name_of_file.bin

You can also see how to compile using the particle-cli at: https://github.com/spark/particle-cli#compiling-remotely-and-flashing-locally