MLK02 Unexpectedly Activated

Bliss

Member
Recently I was repeatedly plugging and unplugging a custom board based on the Teensy 4.1, and noticed the bootloader seemingly randomly activate (showing up via USB), despite the button not being pressed.

Further investigating, using a second MCU, I automated a process repeatedly enabling and disabling power to the board, while keeping the USB data lines and ground connected. This showed some extremely inconsistent behavior, where every 30~120 seconds, the bootloader would inexplicably appear via USB.

As a whole, this behavior is seemingly very random, and I have yet to come up with a consistent reproduction method. I have also been unable to reproduce the issue on a Teensy 4.1, though with the inconsistency around the issue, and my lack of knowledge on it, it's difficult to say that slightly changing the circumstances wouldn't make it occur.

Having listed the context (in case anyone has any ideas on the broader issue), are any cases where the bootloader should activate without the user having pressed the button?
 
The bootloader isn't connected to the USB port. What you're probably seeing is the IMXRT's ROM going into serial download mode, which I believe is locked out (via fuses) in the retail Teensys.

(Possibly related: see the section titled "Pin 25 Issue")
 
Last edited:
The bootloader isn't connected to the USB port. What you're probably seeing is the IMXRT's ROM going into serial download mode, which I believe is locked out (via fuses) in the retail Teensys.
My mistake, you're completely right. I hadn't read enough into the 1062, and didn't realize that it was using this dedicated mode when the board was locked. I had only assumed it was the bootloader chip. I'll need to read more into how the serial download mode works, and how booting on the imxrt1060 works as a whole.

Thanks for the info.
 
Back
Top