Problem Flashing one of two Photon's

I pulled out two Photon’s tonight to start some new projects. First Photon flashed no problem was able to get it up and running in 10 min with my code all good.

Second Photon I setup no problem getting it on line. I just can’t flash it!

What I can done:
I can ping it in the My Devices no problem.
I can even SIGNAL it no Problem I see the Photon receive the signal.
When I flashed it just sites there and breaths. After Flash it comes back and said " Flash successful! Your device is being updated…" then "Ready"
I am just flashing it to blink the LED.
I have rest set it up same problem!

The only think I have noticed is that in Devices this Photon is the only one that
has no OS number it said " Device OS: unknown " All my other Photon’s have a OS version number after it.

Any input to this problem would we help full.

Norm

Try connecting via particle cli, I would put into dfu mode and then particle update. It should reboot and try from the web again.

Thanks for the help fixed.

Norm

1 Like

I have encountered the same situation as described at the start of the thread.
I then used the particle cli,
placed the Photon into dfu mode
executed particle update

The result was:"
! 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:
"
per the instructions elsewhere I also tried to execute
particle flash --usb tinker
This produced a similar error with the additional comment
dfu-util: Error during download get_status

Not sure how to proceed from here... the Console is still reporting
" Device OS: unknown "

Thank you

Can you double check that you have the latest version CLI (particle --version)?
Also try adding the verbose switch (particle update -v).
If that doesn’t provide more insight, you could try putting your device in Listening Mode (blinking blue) and run particle serial inspect and see whether any checks are marked as failing.

1 Like

Thank you,

Particle cli version = 1.42.0
particle update -v = provided the same response with much more detail about the calls where TypeError: Cannot read property ‘code’ of undefined…

However, I think the particle serial inspect is providing some insight.... 
This command returned two fails:
===================
Modules
  Bootloader module #0 - version 2, main location, 16384 bytes max size
    Integrity: FAIL
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
  System module #1 - version 1104, main location, 262144 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
      System module #2 - version 204
  System module #2 - version 1104, main location, 262144 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: FAIL
      System module #1 - version 1104
      Bootloader module #0 - version 7
  User module #1 - version 6, main location, 131072 bytes max size
  <----------------->

============
I assumed that this is telling me that the bootloader is not properly flashed.

Went to the binary firmware page:


Follow the instructions to install the system firmware again.
Then I treated the device as off line and installed the bootloader with:
particle flash --serial <bootloader.bin>`

Device OS: 1.1.1 is now showing in the console.

Thanks for the advice on the particle serial inspect command!

2 Likes