# QCLI sub-group: Platform

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

The platform subgroup demo is intended to demonstrate platform reset, read and write memory unit address and APIs.

## Reset

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command is used to reset the system.

	

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| none | – | Reset the system |

## Read memory

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command reads the specified memory address and display at terminal.

	

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| addr | Number | Indicates the start location to read |
| size | 1:2:3 | Indicates the length to read |

	
**Example:**

	

    read_mem <addr> <size:1|2|4>Copy to clipboard

## Write memory

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command writes a hexadecimal string to the specified memory address.

	

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| addr | Number | Indicates the start location to write |
| size | 1:2:3 | Indicates the length to write |
| value | String | Value to be written to the address |

	
**Example:**

	

    write_mem <addr> <size:1|2|4> <value>Copy to clipboard

## Free

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command gets heap status.

	

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| none | — | Display the heap size and an approximation of free amount of heap bytes |

## time

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command gets or sets the system time in the Julian format.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| operation | String | Operation: set or get<br><br><br>                            <ul class="ul" id="time__ul_qng_slj_bdc"><br>                                <li class="li"><code class="ph codeph">set</code>: set the system time in the Julian<br>                                    format</li><br><br>                                <li class="li"><code class="ph codeph">get</code>: get the system time in the Julian<br>                                    format</li><br><br>                            </ul> |
| Year | Number | Year [1980 through 2100] |
| Month | Number | Month of year [1 through 12] |
| Day | Number | Day of month [1 through 31] |
| Hour | Number | Hour of day [0 through 23] |
| Minute | Number | Minute of hour [0 through 59] |
| Second | Number | Second of minute [0 through 59] |
| Day of the week | Number | Day of the week [0 through 6] (corresponding to Monday through<br>                            Sunday) |

## time\_ntp

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command gets or sets the system time in the NTP timestamp format.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| operation | String | Operation: set or get<br><br><br>                            <ul class="ul" id="time_ntp__ul_kk4_cmj_bdc"><br>                                <li class="li"><code class="ph codeph">set</code>: set the system time in the NTP timestamp<br>                                    format</li><br><br>                                <li class="li"><code class="ph codeph">get</code>: get the system time in the NTP timestamp<br>                                    format</li><br><br>                            </ul> |
| sec | Number | The integer part of seconds relative to 0h 0m 0s on 1 January<br>                            1900 |
| frac | Number | The fraction part of seconds relative to 0h 0m 0s on 1 January<br>                            1900 |

## info

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command displays the following system information:

- Temperature
- Battery voltage
- Real-time clock (RTC)

    An error message appears if RTC isn't set.
- Heap status

## rram\_read

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command reads the specified RRAM data from raw user partition on RRAM.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| partition id | Number (0-4) | Indicates the FDE index ID in FDT:<br><ul class="ul" id="rram_read__ul_omd_hqw_m2c"><br>                                <li class="li"><code class="ph codeph">0</code>: SBL</li><br><br>                                <li class="li"><code class="ph codeph">1</code>: PBL_PATCH</li><br><br>                                <li class="li"><code class="ph codeph">2</code>: Application</li><br><br>                                <li class="li"><code class="ph codeph">3</code>: BDF</li><br><br>                                <li class="li"><code class="ph codeph">4</code>: User data</li><br><br>                            </ul> |
| offset | Number (0-65536) | Indicates the range of RRAM space from address\_base to the start address of the next BDF |
| bytecnt | Number (0-65536) | Indicates the size of RRAM read data |

## rram\_write

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command writes a hexadecimal string to the specified RRAM address in raw user partition in RRAM.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| partition id | Number | Indicates the FDE index ID in FDT.<br><br><br>                            <br>This parameter must be set to 4 (user data). |
| offset | Number (0-65536) | Indicates the range of RRAM space from address\_base to the start address of the next BDF |
| data | String | Indicates the buffer of RRAM write data |

## rram\_test

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command tests RRAM bulk data read/write operations in raw user partition in RRAM.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| partition id | Number | Indicates the FDE index ID in FDT.<br><br><br>                            <br>This parameter must be set to 4 (user data). |
| offset | Number (0-65536) | Indicates the range of RRAM space from address\_base to the start address of the next BDF |
| bytecnt | Number (0-65536) | Indicates the size of RRAM read data |

## coredumptest

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command triggers several crash cases under max power mode or DTIM mode.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| test\_case\_index | Number (0-5) | Crash cases:<br><br><br>                            <br>`0`: Triggers an assertion.<br><br><br>                            <br>`1`: Triggers a usage fault or hard fault by executing at null pointer.<br><br><br>                            <br>`2`: Triggers a usage fault or hard fault by dividing by zero.<br><br><br>                            <br>`3`: Triggers a bus fault or hard fault by reading from a reserved address.<br><br><br>                            <br>`4`: Triggers a bus fault or hard fault by writing to a reserved address.<br><br><br>                            <br>`5`: Triggers a bus fault or hard fault by executing at a reserved address. |

## coredumpinfo

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command reads the specified RRAM of core dump and dumps it by UART.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| flag | Number | Specifies whether the corresponding core dump info is cleared while dumping.<br><br><br>                            <br>`0`: Get and clear the core dump info<br><br><br>                            <br>`1`: Get but doesn't clear the core dump info |

## coredumpflag

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli-sub-group-platform.html)

This command controls whether the whole RAM value should be dumped.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| flag | Number | `0`: Don't dump all the RAM info when crash happens<br><br><br>                            <br>`1`: Dump all the ram info when crash happens |

Last Published: Jun 03, 2026

[Previous Topic
QCLI sub-group: WLAN](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli-sub-group-wlan.md) [Next Topic
QCLI sub-group: I2CM](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_i2cm.md)