Photon bricked with d7 on and yellow blinking

Hi,

My photon bricked after an upload, I did all the steps to reload bootloader and system but it remains with yellow blinking and D7 on.

Your device is ready for a system update.

This process should take about 30 seconds. Here it goes!

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

File too short for DFU suffix
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status

Please visit our community forums for help with this error:
https://community.particle.io/
Cannot read property 'code' of undefined

Any suggestion?

You have the “bluetooth” tag added to this topic, but the Photon doesn’t feature an inbuilt bluetooth module - can you clarify?

Can you try particle update -v again and post the full output?

thank you for your fast reply

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

â–Ś Updating system firmware on the device...dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

â–€ Updating system firmware on the device...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 = 0x080c0000, size = 15336
Downloadng syste[=========================] 100% 15336 bytes
Download done.
File downloaded successfully
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
â–„ Updating system firmware on the device...dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

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 = 0x000006d9, size = 1
â–Ś Updating system firmware on the device...File too short for DFU suffix
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status

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

File too short for DFU suffix
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status

Please visit our community forums for help with this error:
https://community.particle.io/
Cannot read property 'code' of undefined
TypeError: Cannot read property 'code' of undefined
at dfuError (C:\Users\Riccardo\AppData\Local\particle\node_modules\particle-cli\dist\cmd\update.js:121:18)
at dfu.findCompatibleDFU.then.catch.err (C:\Users\Riccardo\AppData\Local\particle\node_modules\particle-cli\dist\cmd\update.js:32:14)
at
at runMicrotasksCallback (internal/process/next_tick.js:122:5)
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)

OK, in this case you may need to download the individual binaries from here
https://github.com/particle-iot/device-os/releases/download/v1.5.0-rc.2/particle_device-os@1.5.0-rc.2+photon.binaries.zip

unzip them and apply them like this
(in Listening Mode)

particle flash --serial photon-bootloader@1.5.0-rc.2+lto.bin -v

(in DFU Mode)

particle flash --usb photon-system-part1@1.5.0-rc.2.bin -v
particle flash --usb photon-system-part2@1.5.0-rc.2.bin -v
particle flash --usb photon-tinker@1.5.0-rc.2.bin -v

It doen’t enter in listening mode and if remains bricked after system and tinker uploads

C:\Users\Riccardo\Downloads\particle_device-os@1.5.0-rc.2+photon.binaries>particle flash --usb photon-system-part1@1.5.0-rc.2.bin -v
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

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 = 0x08020000, size = 238376
Download [=========================] 100% 238376 bytes
Download done.
File downloaded successfully
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!

Flash success!

C:\Users\Riccardo\Downloads\particle_device-os@1.5.0-rc.2+photon.binaries>particle flash --usb photon-system-part2@1.5.0-rc.2.bin -v
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

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 = 0x08060000, size = 260968
Download [=========================] 100% 260968 bytes
Download done.
File downloaded successfully
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!

Flash success!

C:\Users\Riccardo\Downloads\particle_device-os@1.5.0-rc.2+photon.binaries>particle flash --usb photon-tinker@1.5.0-rc.2.bin -v
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

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 = 13648
Download [=========================] 100% 13648 bytes
Download done.
File downloaded successfully
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!

Flash success!

Could it be that the SETUP button has go stuck?
You can find out with a multimeter and measuring the voltage between GND and the pad number 26 on the bottom of the Photon

It should read 3.3V - if it’s 0V this might be the problem.

In that case, what can I do ?

You could file a support ticket at support.parcticle.io

1 Like