Teensy 4 - diagnosing unintentional reset

Status
Not open for further replies.

wyager

Member
I have a project running off a Teensy 4. After a few hours of use, the teensy sometimes resets and the red programming light comes on. How can I determine the cause of this reset? What might cause the board to jump to the bootloader like that?
 
First guess something in the sketch is trashing memory.

Any dynamic allocations or arrays in use that might get overrun or pointers that might get a wrong value?
 
No dynamic allocation. I do have a few DMA buffers for SPDIF and UART, but I would expect those to break quickly rather than hours later.
 
Status
Not open for further replies.
Back
Top