Argon/Xenon OTA flash stops working

I am using code to read out a BME280 on a Argon and Xenon. Sometimes there is an error in the code that doesn’t get detected by the compiler. This makes the device unreachable from the cloud while the light keeps breathing cyan. It is also impossible to do an OTA update, making it very inconvenient to re-flash the device. How can my code break the lower level firmware?

The system relies on good-citizen behaviour of the application firmware.
There are many ways you could write rogue code that would interfere in a way to bog down the system or even sabotage its functions.

1 Like

If you have questions about which bits of your code might be interfering with the Device OS system-level code, feel free to share your source here on the community or submit a ticket to our Support team at http://support.particle.io