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

Thread: Reset Teensy 4.1 to program mode

  1. #1

    Reset Teensy 4.1 to program mode

    Is there a magic code that will reset the Teensy 4.1 to program mode?

    I have used _reboot_Teensyduino_(); and SCB_AIRCR = 0x05FA0004; in the past, but these don't work for the Teensy 4.1.

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    That should restart an ARM Teensy.

    This should put it into bootloader:
    asm("bkpt #251"); // run bootloader

  3. #3
    Thanks a lot. That worked!

Posting Permissions

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