Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Teensy 4 - diagnosing unintentional reset

  1. #1
    Junior Member
    Join Date
    Feb 2020
    Posts
    2

    Teensy 4 - diagnosing unintentional reset

    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?

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,973
    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?

  3. #3
    Junior Member
    Join Date
    Feb 2020
    Posts
    2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •