# Hardware reset Source: [https://docs.qualcomm.com/doc/80-88500-4/topic/73_Hardware_reset.html](https://docs.qualcomm.com/doc/80-88500-4/topic/73_Hardware_reset.html) The hardware reset can be caused by a secure watchdog, temperature sensor (TSENSE), power management integrated circuit (PMIC) or sudden momentary power loss (SMPL). Figuring out the cause is crucial for reset debugging. A further debugging approach might be different based on this information. Any of the error handlers in software may not run for the reset issues. Therefore, the data may not be saved before a reset happens. This results in lack of information for finding out the root cause of the issues. Watchdog reset debugging is improved by debug-through-watchdog. It reserves power rail to CPU core and system cache when a secure watchdog reset happens, allowing system debug image (SDI) and DCC to flush the cache and save debug information upon hardware reset before resetting the system. RST\_STAT.BIN and PMIC\_PON.BIN are generated when a reset occurs, and these hold the AOSS\_CC\_RESET\_STATUS value and PMIC power on status register dump. The following figure is an example of the hardware reset registers: Figure : Sample summary of reset registers  The following is the general warm reset sequence with PMIC: 1. MSM pulls PS\_HOLD low. 2. PMIC pulls PON\_RESET\_N low to keep MSM in reset. 3. PMIC executes the warm reset. 4. PMIC pulls PON\_RESET\_N high to take MSM out of reset. ## SDM reset status After a reset comes into the processor by watchdog and other reasons. The hardware register AOSS\_CC\_RESET\_STATUS (which is used to be called GCC\_RESET\_STATUS) holds the reset status. Table : Hardware AOSS_CC_RESET_STATUS. The table shows a description of the hardware register AOSS_CC_RESET_STATUS. In general, writing to the status bits clears the status. | Bits | Name | Type | Description | | --- | --- | --- | --- | | 9 | PS\_HOLD\_STATUS | Read-write |