arduino / arduino/ArduinoCore-renesas
Watchdog programming problem
- Dominant language
- C
- Stars
- 193
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
If the watchdog trips; it is not then possible to program the baord without putting it into DFU mode.
a/ enable watchdog
b/ watchdog trips
c/ program operation will fail with error code 74
d/ you will need to reset the board with the onboard button to put it in DFU mode
I'm fairly sure this happens when the watchdog is enabled also - so developing any project that uses the watchdog becomes very time consuming as program downloads repeatedly fail.
My current workaround is disabling the watchdog during application development then enabling it after most of the code development - not great.
I think this used to be a problem with the atmega nano but they fixed the bootloader to reset the watchdog flags following a reboot.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the sequence with the watchdog enabled: let it trip, then attempt a programming operation and record error 74. Trace the board’s bootloader and programming path to determine why a watchdog trip requires the onboard-button reset and DFU mode. Done means programming succeeds after a watchdog trip without manually entering DFU mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100