Unable to flash system binary on photon

@rickkas7 This method isn’t working for me!

particle flash --serial system-part2-0.6.2-photon.bin
particle flash --serial bootloader-0.6.2-photon.bin
particle flash --serial system-part1-0.6.2-photon.bin

I cannot flash binaries serially. It shows this error:

particle flash --serial system-part2-0.6.2-photon.bin
! PROTIP: Hold the SETUP button on your device until it blinks blue!
? Press ENTER when your device is blinking BLUE

! serial:
Error writing firmware...Timed out waiting for initial response from device
undefined

However using DFU, it worked. But then the bootloader binary cannot be flash serially, shows the same error above!
Any other option except upgrading the system firmware?

Did you do the step of upgrading to 0.7.0rc3 first? You won’t be able to flash the bootloader until you do that first. You don’t need to stay on 0.7.0rc3, but you need to do that first otherwise you can’t downgrade, unless you do it by JTAG/SWD.

@rickkas7 After the first step, I checked the command particle serial inspect. It worked and gave me this output:

particle serial inspect
Platform: 6 - Photon
Modules
  Bootloader module #0 - version 100, main location, 16384 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
  System module #1 - version 202, main location, 262144 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
  System module #2 - version 202, main location, 262144 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
      System module #1 - version 202
      Bootloader module #0 - version 100
  User module #1 - version 4, main location, 131072 bytes max size
    UUID: D674F0FB01D672829783468CDD6B3AFA28D636790A1B312D64A5EE81C5064E5A
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
      System module #2 - version 108
  empty - factory location, 131072 bytes max size

I’ve then followed second step. Same issue! I cannot flash it serially.

@rickkas7 @ScruffR, I couldn’t degrade the bootloader. But Upgrading the firmware solved the issue. Now I can successfully use all DFU as well as serial CLI commands. Thanks a lot.