Photon setup results in solid Magenta LED

When I try that, however, I still get the "Token error"

Token error: { [Error: form-data: ENOENT, open 'binaries/photon_tinker.bin'] errno: -2, code: 'ENOENT', path: 'binaries/photon_tinker.bin' }
flash device got error: {"errno":-2,"code":"ENOENT","path":"binaries/photon_tinker.bin"}
Potentially unhandled rejection [1] Error: form-data: ENOENT, open 'binaries/photon_tinker.bin'
at Error (native)

What is causing that to happen?

On another thread I found the command

particle flash --usb tinker-photon.bin

Which flashes the app over usb after having the bin file downloaded. I tried this and got an error message.

Found DFU device 2b04:d006
checking file tinker-photon.bin
running dfu-util -d 2b04:d006 -a 0 -i 0 -s 0x080A0000:leave -D tinker-photon.bin

Error writing firmware...Error: Command failed: /bin/sh -c dfu-util -d 2b04:d006 -a 0 -i 0 -s 0x080A0000:leave -D tinker-photon.bin
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

However it seems that it did work, as the LED is now breathing cyan and I can see the device is online.

Thanks for all the help!

1 Like