Richard W

srand issue causing Cpu_ivINT_Hard_Fault

Discussion created by Richard W on Nov 9, 2017
Latest reply on Nov 15, 2017 by Richard Wheatley

When debugging, the very first time after compiling the code the debugger faults at Cpu_ivINT_Hard_Fault. If I reset the processor and run again, it doesn't happen.


Any ideas?


I am using the MK10DK128VLK7 and the Kinetis IDE.


In the debugger, I step through the code and it always faults at the srand line.