Flashing 6.3.5 via USB to P2 fails

Hi there,

I tried flashing two separate P2 to 6.3.5 using the particle CLI:

❯ particle update --target 6.3.5
Updating p2 0a10aced202194944a05a6e4 to Device OS version 6.3.5
[█████░░░░░░░░░░░░░░░░░░░░] 21% | Flash failed.
Unable to flash device

After 17%, it became super slow, the LED toggled magenta on/off roughly every 30s, then it stopped.

I had to go through the particle IDE and cloud flash - that worked.

KI?

Thanks,
MikeS

The device was very slowly blinking magenta after a particle update --target? Did it ever switch to blinking yellow?

When using that command, only the bootloaders should be transferred in normal operating mode; the system part is transferred in DFU (blinking yellow). If the device fails transferring the bootloader in normal operating mode the most common reason is that the user firmware is preventing the system from having enough time to process the data. You could try putting the device in safe mode (breathing magenta) so your user firmware does not run to eliminate that as a possibility for narrowing down the cause.

What was the reason for specifically updating Device OS without firmware? The typical use case is to just upgrade your firmware to target Device OS 6.3.5 and flash user firmware, and Device OS will be upgraded if necessary.

Putting the device in safe mode first worked! Thanks a lot. The usecase is that I build the firmware with a pigweed/bazel stack. Not sure how the particle flash –local would know what deviceos to upgrade to, presumably that is encoded in the firmware, but I missed that somehow? Not a big deal though

Thanks,

MikeS