Hello,
Our project ran for about 700ms then the PC appeared to spontaneously change to 0x00000000 and so the program effectively restarted over and over. We set a BP at 0x0 and after ~700ms we hit it. However, there is no stack frame displayed in the debugger to show us the context of the PC = 0x00000000.
We eliminated reset as cause and my colleague eventually found the cause was a null function pointer but only after many hours of work.
1) Why isn't there any stack info in the case of a null function pointer changing PC to 0x0 please?
2) Is there an alternative debug technique to determine what code changes the PC to 0x0 please? We don't have any on/off chip trace facilities unfortunately.
Thank you very much.




