Embedded 101: Two Types of MCU Resets — Full Chip Reboot vs Subsystem Reset
This article explains two reset types of RP2040: full chip reset and independent subsystem peripheral reset, along with relevant reset signals.
【Preliminary Note】The original hardware example in this article was written based on the RP2040. The actual hardware used in this hands-on demonstration features the W55RP20 as the main controller chip. The circuit logic and UF2 flashing operation principles are universally applicable, with only the main controller model differing. The original chip model mentioned in the circuit descriptions below is provided for reference purposes only.
Reset
1. Chip-level reset
rst_n_psm: responsible for resetting the entire chip, while retaining the debug port (so that the debug device will not be reset, facilitating subsequent troubleshooting);rst_n_dp: Only specifically resets the "Rescue DP (rescue debug port)".rst_n_psm to reset the entire chip, while the rescue debug port itself will not be reset (which means "the rescue port can restart the chip while keeping itself running to facilitate subsequent debugging"). After the chip reset is completed, the boot process will be handed over to the power-on finite-state machine to continue.