Hy,
I have asked pretty much the same question before:
I have received some helpful hints about exception handling, but no answer to my question. My situation again: After running without any problems for some weeks some of my devices get in a state, where they don't advertise any more, are not connectable any more and obviously the software does not run any more.
I can't see anything special on the tags, battery voltage is quite normal, nothing extraordinary happened to them, after resetting them they continue to run without any issues.
Since my last question I built in the exception handling:
void myExceptionHandler(exceptionFrame *e, unsigned int execLr)
{
HAL_SYSTEM_RESET();
}
Which apparently works (tested by an illegal memory access:
uint8_t *myAccess;
myAccess = (uint8_t*)0x12345;
globalArray[5] = myAccess[95];
But still, ever once in a while (2 devices out of 20 after 2 weeks) gets into this bad state. When trying to connect the debugger I get this error message:
I am pretty stuck in this situation. Any hints?
Regards
Harald
