Particle flash --local device os version question

Hello,

I was flashing my msom between 2 user binaries, one compiled using 5.8.2 and the other 5.9.0.

When I ran particle flash --local som590.bin, it updated the device os to 5.9.0, which is what I expect to happen. When I went to downgrade, the process was much quicker, as if only the user binary was flashed. Running particle serial inspect reveals that the device os had changed to the same version the binary was compiled for, so I am wondering if the old device os is cached allowing me to skip reprogramming the device os or if this is a bug?

That's by design. The Device OS target version is the minimum version of Device OS that your firmware should be able to run on.

It is possible to explicitly downgrade Device OS by USB using particle update --target, but particle flash --local will only flash Device OS if required.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.