Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4819

General • Re: rp2040: fixing GPIO state during watchdog reset

$
0
0
Not sure how dynamic analysis would be really helpful here, as hardware watchpoints on the relevant peripheral register addresses apparently don't trigger (I assume they only work for ram) and the debugger doesn't survive the watchdog reset:

Code:

(gdb) cContinuing.[...watchdog reset happens]Failed to select multidrop rp2040.dap0Could not read registers; remote failure reply 'E0E'(gdb)
Looking at the source, I see that Arduino-pico is running its OTA handler before going in the user application, so it must be something in there. I only see it messing with the clocks peripheral though, so I guess I'll have to dig a little deeper there.

Statistics: Posted by kbraden — Sun Dec 15, 2024 1:54 pm



Viewing all articles
Browse latest Browse all 4819

Trending Articles