I have a rather large Photon application that seems to run as expected but every few hours resets with a reset reason of ‘System Panic’ and resetReasonData = 1. The latter isn’t documented in the photon reference but another posting in the forum states that this indicates a hard fault.
Does anyone know what circumstances can cause a hard fault? I don’t yet see any indication of a memory leak and I don’t do very much dynamic memory allocation. My nominal free memory is around 48K. Could this be an issue of the application task stack overflowing? If so, is there any way to change the allocated stack size without rebuilding the system firmware from scratch? I’d at least like to try this to see if it makes things more stable.