My photon is crashing, only the D7 led is on


#1

Hello, I’m new with the photon :slight_smile:
Before programming anything I tried my photon from the android application to trigger the inputs and outputs, etc… and everything seemed to work properly.

After that I tried to use the online IDE (I used the led example) and I’ve tried uploading it to the photon.
Apparently something went wrong and I got stuck in safe mode

Since the android app i have seen that the photon was online, non-tinker. So I tried to re-tinker from the app, and didnt work.

After that I tried to this command (with the usb connected and the yellow led in the photon) particle flash --usb tinker

And after that, no leds, no nothing… It looks like the led is trying to turn red but it does not get it and the led of the D7 is stuck.

To try to solve this, I tried to reinstall the firmware:
dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.6.2-photon.bin
dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part2-0.6.2-photon.bin

The command works, but the error is the same.

Any help?


#2

Does the dfu-util commands work and flashes the binary to the Photon?


#3

the dfu-util command works propertly. I was hoping that the photon will restart and work but not…


#4

Ah interesting. If DFU-util works, the Photon is still alive.

Do you have another Photon?


#5

Nop :frowning:
I just have one.

The dfu-util worked when I did:
dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.6.2-photon.bin
dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part2-0.6.2-photon.bin

But not when I tried particle flash --usb tinker

Does that tell you something?


#6

What is the error message? Also, is the Photon blinking yellow?


#7

@emilioriosvz, your flashing the two parts to the same address! If DFU is working, try reflashing with the latest Particle CLI using particle update then particle flash --usb tinker.


#8

When I try to do particle update I get this error:

➜  ~ particle update

> Your device is ready for a system update.
> This process should take about 30 seconds. Here goes!


! An error occurred while attempting to update the system firmware of your device:

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



> Please visit our community forums for help with this error:
https://community.particle.io/

But after a couple of minuts… the chip resurrected! I can connect again to my photon and I can see it Online in my phone.

Thankyou very very much!!! (and sorry for my english ^^)