# 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 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 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



  • set: set the system time in the Julian
    format


  • get: get the system time in the Julian
    format


| | 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
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



  • set: set the system time in the NTP timestamp
    format


  • get: get the system time in the NTP timestamp
    format


| | sec | Number | The integer part of seconds relative to 0h 0m 0s on 1 January
1900 | | frac | Number | The fraction part of seconds relative to 0h 0m 0s on 1 January
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:

  • 0: SBL


  • 1: PBL_PATCH


  • 2: Application


  • 3: BDF


  • 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 | ## 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.



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.



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:



`0`: Triggers an assertion.



`1`: Triggers a usage fault or hard fault by executing at null pointer.



`2`: Triggers a usage fault or hard fault by dividing by zero.



`3`: Triggers a bus fault or hard fault by reading from a reserved address.



`4`: Triggers a bus fault or hard fault by writing to a reserved address.



`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.



`0`: Get and clear the core dump info



`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



`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)