gsteiert
New member
The teensy boards have one button that is dedicated to the bootloader. It would be nice to be able to expand the use of the button.
I would suggest that the bootloader would detect a double click and set a register in the MCU so that the application could detect that it was reset by the double click.
On the i.MX RT1060 you could store a token in one of the SNVS general purpose registers. Then the application could check the register after reset to see if the button had been double clicked. This would not be useful for a general purpose button, but it would be useful for enabling alternate modes, like activating a secondary bootloader or other maintenance modes.
Would anyone else like to see this feature in the bootloader?
I would suggest that the bootloader would detect a double click and set a register in the MCU so that the application could detect that it was reset by the double click.
On the i.MX RT1060 you could store a token in one of the SNVS general purpose registers. Then the application could check the register after reset to see if the button had been double clicked. This would not be useful for a general purpose button, but it would be useful for enabling alternate modes, like activating a secondary bootloader or other maintenance modes.
Would anyone else like to see this feature in the bootloader?