on-internet
← Community

In which condition RPI Pico DBGPAUSE flags stop the TIMER clocks?

Stack Overflow ·

When running RPI Pico with debugger connected to SWD through a picoprobe (but with cores running freely) I have observed that timer is halted which makes the program hang on any sleep. This seems to be linked to the DBGPAUSE flags. The timer restarts if I clear them even if the debugger has halted the MCU cores. Should not the timer be halted only when program is halted and the flags are set ? Is there a workaround for what I have observed ? Such as debugger resetting the flags when running target and setting them back when halted.

Comments

Sign in or sign up to comment and upvote.

No comments yet.