This crate provides a USB device compatible with teensy_loader_cli -r
to force the Teensy4 to reboot itself into bootloader.
This allows the board to be reprogrammed without having to press the Reset
/Boot
button.
A requirement of this crate is that there is no other use for the USB port, as it will fully consume it.
- examples are intended for the Teensy 4.0, Teensy 4.1 or Teensy MicroMod board -
The following hardware is required for the examples:
The following software tools have to be installed:
python3
, or modify run.py
to use the python
binary)cargo-binutils
teensy_loader_cli
Reset
/Boot
button on the Teensy.cargo run --release --example teensy4_selfrebootor
Reset
/Boot
button. The Teensy should switch to boot mode automatically.