Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited tags
Link
Juraj
  • 18.3k
  • 4
  • 32
  • 50
Post Reopened by Juraj
added 15 characters in body
Added to review
Source Link
Juraj
  • 18.3k
  • 4
  • 32
  • 50

ArduinoMy Adafruit Feather M0 has two reset options I know of:

  • single click restarts existing program
  • double-click listens for an upload for a few seconds, then restarts existing program

Is there another option to have an existing program erased or replaced with something benign like a blinker, e.g.

  • triple-click erases existing program and listens for upload indefinitely

If not, what is the level of difficulty to modify the standard bootloader to implement this option?

NOTE

The rationale for this option is to recover a bricked board, e.g. with USB port turned off by a low power mode, so the regular software upload doesn't work any longer, at least without some trickery.

Arduino has two reset options I know of:

  • single click restarts existing program
  • double-click listens for an upload for a few seconds, then restarts existing program

Is there another option to have an existing program erased or replaced with something benign like a blinker, e.g.

  • triple-click erases existing program and listens for upload indefinitely

If not, what is the level of difficulty to modify the standard bootloader to implement this option?

NOTE

The rationale for this option is to recover a bricked board, e.g. with USB port turned off by a low power mode, so the regular software upload doesn't work any longer, at least without some trickery.

My Adafruit Feather M0 has two reset options I know of:

  • single click restarts existing program
  • double-click listens for an upload for a few seconds, then restarts existing program

Is there another option to have an existing program erased or replaced with something benign like a blinker, e.g.

  • triple-click erases existing program and listens for upload indefinitely

If not, what is the level of difficulty to modify the standard bootloader to implement this option?

NOTE

The rationale for this option is to recover a bricked board, e.g. with USB port turned off by a low power mode, so the regular software upload doesn't work any longer, at least without some trickery.

Fixed misspelling in subject
Link
Nick Gammon
  • 38.9k
  • 13
  • 70
  • 126

Tripple Triple-click reset option to erase existing program

Post Closed as "Needs details or clarity" by Juraj
edited tags
Link
Nick Gammon
  • 38.9k
  • 13
  • 70
  • 126
Loading
Bumped by Community user
added 216 characters in body
Source Link
Loading
Source Link
Loading