So we sell some boards which we flash with firmware prior to shipping. I use the Particle CLI to to setup the module for my network associate it with my account for testing, etc. This is quite a bit faster than using the GUI apps. I would also like to use the CLI to OTA flash my firmware to the Photon/Electrons. However recently I have not been able to accomplish that. Format I am using is as follows:
particle flash deviceID firmware.bin
From the Terminal everything looks like it went through fine but when I check available functions on the module I can see Tinker is still running so the firmware flash did not go through. Is anyone else using this? Am I doing something wrong?
For reference I get the binary file by downloading it from the build IDE. I can flash it from there and it works perfectly just does not work from CLI.