2020-04-22 02:12 AM
2020-04-22 02:35 AM
Sorry, but there is not much information about your issue, except for guessing.
Perhaps a stack overflow or a buffer overrun ?
Use a debugger to check if the code faults (hardfault handler). If so, decode the respective SCB fault registers.
Instrument your code to see what happens.