When I load the firmware, the firmware starts running fine.
but once I power off then on tue device the firmware crashes at a certain point while in the main loop with no error raised, just stops running the loop and stops receiving any events
the device is turned on by pressing a button, the button closes a line which enables the external voltage regulator and hence the SoC is powered and starts. Once starting a pin used to enable the external voltage regulator is also set high to ensure the SoC remains powered even when the button is released
the powering seems to work fine as th SoC is powered after button is released, but the system crashes shortly after with no error raised
I simulated that ON OFF behavior using only the bsp example. it run well there, but on my firmware it crashes
is there a way I can at least get some error exception raised to know exactly what triggers the crash
thanks