I've got some code that reboots a Teensy 3.2 just fine.
Code:
#define CPU_RESTART_ADDR (uint32_t *)0xE000ED0C
#define CPU_RESTART_VAL 0x5FA0004
#define CPU_RESTART (*CPU_RESTART_ADDR = CPU_RESTART_VAL);
I'm looking for the same behavior on Teensy 2.0. I'm aware of the _restart_Teensyduino_() method, but that doesn't disconnect the USB. I'm also aware of the _reboot_Teensyduino_() method, but that puts the device into program mode. What I'm looking for is a way to reboot the device without entering program mode. Any ideas?