Hi, suddenly every program i flash on my electron puts my electron into save mode (flashing magneta). Does anybody know how I can solve this ?
I don´t think the programs cause the problem beacuse they allready worked and even this code snippet puts the elctron into save mode:
Now the same thing is happening to me with my photon…
Putting in DFU mode and doing the flash of tinker app works … but any other software written by me does not work …
This would indicate that your application firmware is targeted at a higher version system firmware than is installed on the device.
Either upgrade the system or select a lower version targetfor your app.
Just a few days ago the release of 0.5.1 was announced - this might be the reason.
If you use Web builder IDE on the left select “devices” button then click on the right of your device and then select a firmware version in “Building with firmware:”. If you use “local” particle dev IDE I believe it is not selectable… but I’m not sure. (in my opinion automatically select latest version).
Could you screenshot that, because there isn’t a version 1.5.0
If you want to upgrade your device, select the (higher) version you’d like to use, and click “flash”. Should upgrade automatically
If you’re using an Electron, this will do an OTA upgrade, which can cost quite a bit of data. To circumvent this, you could do the upgrade over USB using the CLI for example.
Ah OK… I don’t have an Electron module but I am interested in it. You can launch the OTA update for the user application program only? (If I understood correctly).
I thought I would reply here just in case someone else has the same problem as me. I had a new version of the firmware however I was always getting placed into Safe Mode on boot.
Turns out I was compiling my code for v0.6.2 and I was running v0.6.0.
You can change this in build.particle.io, go to devices on the left, once in there click on the > next to the device you are using and there should be a drop down box.