issue:
1.keep 6 devices run,two of them has freeze issue,it is random(about 50min,several hours,several days)
2.When device freeze,external I/O interruption can work
3.I run all functions at high frequency in main loop one by one,EEPROM.put() or Serial.printf() sometimes will cause freeze,when freeze RGB led stop blink.
4.I have setup one device to do test,if main loop and OS software timer run well two led will blink,When device freeze both two led stop blink,the RGB led is in the device I can not see it
1.It is not hard fault,after hard fault RGB led blink red,then Photon will reset
2.Flash not stall,because external I/O interruption can work
So It is OS crash or high priority thread block.
And I find Watch dog not work even System Thread enable it,I can call Soft AP API to crash Soft AP and then Photon not reset.
Really need some help,Pleas guys!
No,I can not.I try the latest,but after days my device can not connect to cloud,then I read out the device key,device key is not the same as my backup.
The device key is independent of device OS version.
Currently the most reliable official version for Photons is 0.6.3 - Iād definetly get rid of 0.5.4.
If you have any issues with 0.6.3 compared with 0.5.4 it would be good to clearly state them in order to get them addressed in future releases.
If device can not connect to cloud I can not update the firmware later,I can not take this risk,I will not upgrade to 0.6.3.Do you have any idea why it freeze?Or how to continue my debug?
I get a better idea.
I will disable watchdog in system thread and run an empty main loop.
If device not freeze,then I can add my code line by line to find out why it freeze.