We have few Photons that we connect to our local cloud. Our application firmware collects data from different peripheral sensors by creating multiple threads and running them in a while(1) loop with a delay of 10ms in each loop, and do the data collection and add to FIFO buffer in them. These threads are created and started during the setup(), and the data being collected is processed.
However, in such a scenario, the OTA of the firmware fails. The command goes through and we can see the magenta color on the device, but the application firmware changes do not reflect and the devices keeps running the previous application firmware (and not the one we push).
Is this a known issue where OTA does not work when application firmware create looping multiple threads?