main() being called twice

heinbali01 wrote on Thursday, June 13, 2019:

Hi Andrew,
Oops, that is a difficult question!
So when you change the kernel from 9.0.1 to 10.2.1, you get these spontaneous resets?
main() is only called from the assembler start-up code, and when it is called for a second time, I assume that a CPU reset has taken place.
I think there is a reset function somewhere in the code. Would it be possible to find that function and put a breakpoint in it?