After flashing firmware 6.0 return to Hard Fault mode (red flash with 1 white flash)

Hello all,

Trying to make my first step the particle cloud. Not so lucky sadly.

I’ve bought a Photon that I would like to use for a wearable project. Started with the assumption that the app would work. Sadly it didn’t discover the Photon. I am using a Samsung Galaxy S7, and discovered that someone else had the same issue too, so I decided to take a different route. For a previous project I had Node.js installed but that wasn’t working as expected, some trouble shooting with updates, permissions, etc. Then it was finally able to install Particle-cli. I started the Particle setup procedure. Everything went fine until it started searching for available networks. It didn’t find any so I aborted the procedure and started the manual way. Entered the credentials and send it to the Photon. It then took a very long time and nothing changed. So I disconnected the Photon and when I powered it on again it booted into Hard Fault mode.

I managed to flash the 6.0 firmware to the Photon but when it leaves the process it goes back straight into Hard Fault mode. Flash procedure: 3 red quick, 3 red slow, 3 red quick, 1 red, 3 red quick, 3 red slow, 3 red quick, 1 red, 1 short blue, 1 white. And then the whole flash procedure starts again.

What else is there to try?

Can you do a particle update?

Yes that is no problem. I can also flash Tinker to it. But it goes straight into Hard Fault mode again.

@BDub can you take a look at this?

Beneath this is a copy of the latest terminal code. I’m on a mac El Capitan, version 10.11.6. Tried multiple usb cables and ports.


Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

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 #1
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000022, size = 608
Download [=========================] 100% 608 bytes
Download done.
File downloaded successfully
Saved!
MacBook-Pro-van-Wouter:~ wouter$ particle serial identify

! serial: No devices available via serial
MacBook-Pro-van-Wouter:~ wouter$ particle identify 1

! serial: No devices available via serial
MacBook-Pro-van-Wouter:~ wouter$ particle keys doctor
Please provide your device id
MacBook-Pro-van-Wouter:~ wouter$ particle keys send 3a4d5ce7ce8e6b49304ff91c9a4df20b02dee1d8 photon.pub.pem
attempting to add a new public key for device 3a4d5ce7ce8e6b49304ff91c9a4df20b02dee1d8
Error sending public key to server: Permission Denied
MacBook-Pro-van-Wouter:~ wouter$

It looks like the device never connected to the :cloud: successfully before right? Cos the keys swapping denied.

Indeed, I have never been able to register it. Was trying this suggested solution: Photon hard fault, even on Tinker (Resolved)

Yup definitely. Place the device in DFU-mode and do a particle keys doctor DEVICE_ID

Tried that, I am however not sure if this is my DEVICE_ID

This is the response

MacBook-Pro-van-Wouter:~ wouter$ particle keys doctor 3a4d5ce7ce8e6b49304ff91c9a4df20b02dee1d8
Found DFU device 2b04:d006
Found DFU device 2b04:d006
New Key Created!
Found DFU device 2b04:d006
Found DFU device 2b04:d006
Saved!
checking file 3a4d5ce7ce8e6b49304ff91c9a4df20b02dee1d8_rsa_new.der
spawning dfu-util -d 2b04:d006 -a 1 -i 0 -s 34:leave -D 3a4d5ce7ce8e6b49304ff91c9a4df20b02dee1d8_rsa_new.der
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

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 #1
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000022, size = 610
Download [=========================] 100% 610 bytes
Download done.
File downloaded successfully
Saved!
attempting to add a new public key for device 3a4d5ce7ce8e6b49304ff91c9a4df20b02dee1d8
Error sending public key to server: Permission Denied
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - undefined
MacBook-Pro-van-Wouter:~ wouter$

Due to time issues, I got a Photon from a friend. This one was immediately visible from the Samsung Galaxy S7. Which makes me doubt that it might be an issue with the wifi controller? Also because the Photon seemed to get stuck when I send it the final credentials during the setup with Particle-cli.

That’s not your device ID. The easiest way to get it is to hold down the SETUP button until the main status LED blinks dark blue, then use the CLI command:

particle identify

And here are a bunch more ways you can find it:

https://docs.particle.io/faq/particle-devices/finding-device-id/photon/

Thank, you the problem is that it will only enter DFU mode, the listening mode is impossible to get. So or I must have misread it but I was unable to find another way in the documentation to discover my ID.

How did you try to enter Listening Mode?

You need to power up first and then press and hold SETUP till it starts blinking blue - not like Safe or DFU Mode where you first press and hold SETUP and then tap RESET.

When I try this it gives one red blink (from the Hard Fault error message), then blue led D7 goes on and the main led starts blinking Violet, Yellow, Green, White; white pulse and again Violet, Yellow, Green, White, white pulse. The moment I let the setup go it goes back to red, Hard Fault.

You can’t get in Safe Mode either?
If you can, you could first enter that end the try Listening Mode from within SM.
But if you can’t, you may want to open a support ticket to get a replacement.

Refer to this thread in the ticket.

No I can’t :confused: . Allright, I will open a support ticket. Thank you all.