# Debug VRM (RPMh hardware block)

Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/debugging_vrm_rpmh_hardware_block.html](https://docs.qualcomm.com/doc/80-88500-3/topic/debugging_vrm_rpmh_hardware_block.html)

Along with AOP, the voltage regulator manager (VRM) manages the execution of votes on the
      PMIC regulators and clock buffers. It supports voting on the following resource types.

- Regulators (enable, Mode, voltage, headroom)
- XOB (enable)
- XO (enable)

VRM contains a current resource state (CRS) register, which indicates the final VRM resource setting settled state.

## Debugging scripts

The following CMM scripts support VRM debug.

- `vrm.cmm`: Displays the DRV votes, CRS state, and PMIC state.
- `vrm_dump.cmm`: Dumps the RPMh VRM registers.

For the VRM debug scenarios, see <cite class="cite"> Non-HLOS Voltage Regulator Software User
          Guide</cite> (80-P9301-78).

**Parent Topic:** [RPMh debugging](https://docs.qualcomm.com/doc/80-88500-3/topic/81_RPMh_hardening_and_debugging_.html)

Last Published: Sep 26, 2023

[Previous Topic
Debug PDC (RPMh hardware block)](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/debugging_pdc_rpmh_hardware_block.md) [Next Topic
Debug client driver](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/84_Debug_of_client_driver.md)