# QCLI sub-group: FLASH

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html)

The FLASH demo is intended to demonstrate flash system functions and APIs. The following table shows the supported flash devices.

Table : Supported flash devices

| Manufacturer | Part Number |
| --- | --- |
| Macronix | MX25R6435F |
| Gigadevice | GD25WQ32E, GD25Q32EEIGR, GD25LQ32EEIGR |
| Giantec | GT25Q32AU\_DS |
| Zetta | ZD25WQ32CE |
| Puya | PY25Q32HB, PY25Q64HA, PY25Q32LC |
| Winbond | W25Q32RVXHJQ, W25Q33PWXHIQ, W25Q64PWZKIQ |

## Init

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html)

This command initializes all the files at flash system.

	

| Parameter name | Type/Range | Description |
| --- | --- | :---: |
| device-id | Hexadecimal | Indicates device-id to initialize flash. |

## Read

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html)

This command reads the specified flash data from the specified address and display the data in at terminal.

	

| Parameter name | Type/Range | Description |
| --- | --- | :---: |
| address | Number | Indicates the start location to read |
| Count | Number | Indicates the byte count to read flash data |

## Write

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html)

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

	

| Parameter name | Type/Range | Description |
| --- | --- | :---: |
| address | Number | Indicates the address to write into flash |
| Count | Number | Indicates the length to be written |
| string | Hexadecimal string | The hexadecimal string to be written to the flash |

## Erase

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html)

This command is used to erase the flash memory.

	

| Parameter name | Type/Range | Description |
| --- | --- | :---: |
| type | Number | type=0/1/2(block/bulk/chip) |
| start | Number | The starting block/bulk to erase (if type=2, start is 0) |
| count | Number | The number to erase (if type=2, count is 1) |

## Test

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_flash.html)

This command is used to test flash bulk data read/write operations.

	

| Parameter name | Type/Range | Description |
| --- | --- | :---: |
| operation | Number | <ul class="ul" id="concept_ews_gx4_dzb__ul_jqw_gt2_4cc">							<li class="li"><code class="ph codeph">0</code>: read</li><br>							<li class="li"><code class="ph codeph">1</code>: write</li><br>						</ul> |
| address | Hexadecimal | Indicates the start address of flash |
| size | Number | Indicates the length in 1 Kbytes |

Last Published: Jun 03, 2026

[Previous Topic
QCLI sub-group: Net](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli-sub-group-net.md) [Next Topic
QCLI sub-group: Lowpower](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_lowpower.md)