I have a Photon that I need to flash over a USB connection using a MAC.
Now with the LED flashing YELLOW. I do the dfu-util command and get:
$ dfu-util -l
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to email@example.com
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"**
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=1, name="@DCT Flash /0x00000000/01016Kg"*
So all seems well…
Next I try to flash over usb
$ particle flash usb photon_firmware_1486312357348.bin
attempting to flash firmware to your device usb
Flash device failed
I didn’t recognize that device name or ID, try opening https://api.particle.io/v1/devices?access_token=`my_secert_ptr_to_api_tokens_etc
Now when I open this link up I see the device its Device ID is correct.
So what do I do to get the particle command line to flash over usb again?
I have to go this route as the program has a WiFi setup wrong so the Photon cannot be flashed via cloud.