I cannot flash anything onto my new Particle photon, even though it breathes cyan, I can see my photon on the build IDE, and the Photon will cycle colors when "Signal"ed on the IDE.
I opened a new Photon that had been bought ~1 year ago. I set it up by connecting the USB to my Mac and using the particle-cli particle setup
Flashing Methods tried:
- Flashing via web IDE
Result:flash unsuccessful: Request Timed Out
- Flashing via USB/cli by Downloading the Binary .bin and and
particle flash PhotonName1 firmware.bin
Result:Flash device failed. Timed out.
I read something about flashing tinker via DFU mode, that failed too.
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 = 3952
Download [=========================] 100% 3952 bytes
Download done.
File downloaded successfully
dfu-util: Error during download get_status
Error writing firmware...dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: Error during download get_status
Lastly, I tried using screen /dev/SERIALPORT
to find the firmware version, and while the photon returns the coreid and MAC address, typing s
gives me modular: no
and typing v
returns nothing (I wanted to see the firmware version.
This is a completely new device. It should not be this difficult to flash a simple blink
code.