Enable RAM dump
By default, thedebug build includes the RAM dump, but it’s disabled in perf or non-DEBUG builds through a kernel command-line parameter. To configure the RAM dump, use the qcom_scm.download_mode parameter in the meta-qcom/ci/base.yml file as:
- 0: Disable
- 1: Enable
Collect RAM dump
After the system crash, the device reboots into RAM dump mode and waits for RAM dump collection through USB in the bootloader. To collect the RAM dump over USB, use the Product Configuration Assistant Tool (PCAT). Download the PCAT tool from the Qualcomm Software Center. After installing PCAT, access the PCAT user guide at the following locations:- Windows host computer:
C:\Program Files(x86)\Qualcomm\PCAT\Docs - Linux host computer:
/opt/qcom/PCAT/Docs/
- Start PCAT on a Windows host computer and connect the device, which is already in the RAM dump mode. If necessary, to trigger a device crash, select CRASH on the PCAT interface.



The Linux host computer uses a command-line interface rather than a GUI for PCAT-based RAM dump capture, such as
PCAT -PLUGIN CC -DEVICE <serial-id> -DUMPDIR /tmp -RESET TRUE -UNIQUETS TRUE.
