selfbus / software-arm-incubation

Selfbus software projects in development, for ARM microcontrollers
GNU General Public License v3.0
11 stars 14 forks source link

Bootloader should boot into existing app after some time, and also after a failed unlock attempt #56

Open dallmair opened 11 months ago

dallmair commented 11 months ago

As a fail-safe precaution, the bootloader should boot back into the app in the following situation:

  1. Bootloader was started by the app.
  2. App is still valid.
  3. Bootloader does not get unlocked after 15 seconds -- or -- Bootloader encounters a failed unlock attempt.

This ensures that a mounted device continues its usual operation, even when there's an issue in the update procedure like