Switch actions can lead to a reset loop
Bug #1804055 reported by
Thomas Arthofer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Flashlight Firmware Repository |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Not sure what exactly is causing this, but sometimes short/light switch taps put it into a reset loop as seen here: https:/
Click combos stop working until power is removed.
2nd video where it happens here: https:/
It starts with the reset loop state and at 1:47 I manage to get another reset loop.
Changed in flashlight-firmware: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
Managed to reproduce it on my testbench with a scope connected. https:/ /i.imgur. com/dqbykIJ. png
1) It was pretty interesting contact bounce.
2) Pushing reset doesn't help (even pushing for >10s)
3) Only power cycling helps
3) Resets happen each ~1.2s (WDT resets?)
4) No clear way to reproduce, but it seems like a bouncing button helps
I'm trying a workaround where the WDT is the first thing to be deactivated on boot as this seems to be a common cause for reset loops on AVR. (as noted here: http:// ww1.microchip. com/downloads/ en/AppNotes/ doc2551. pdf )