The tool deploys firmware to your device on first connect. Deployment progress is seen before the result lines shown below.
get-flash-properties
Query flash device identity and configuration, including JEDEC ID, capacity, sector size, bus width, connection mode, and device type.
cfgmem_util get-flash-properties --url oyster2 --flash-type qspi-dual-parallel-x8
Example output:
JEDEC ID:0x20BB21
Flash Size: 128 MB
Sector Size: 128 KB
Bus Width: x4
Connection Mode: parallel
Device Type: QSPI
get-status-register
Read the SPI status register from the flash device.
cfgmem_util get-status-register --url oyster2 --flash-type qspi-dual-parallel-x8
Example output:
Status Register: 0x00 (1 byte)
get-flag-status-register
Read the flag status register. This register is available on Micron flash devices.
cfgmem_util get-flag-status-register --url oyster11 --flash-type ospi-single-x8
Example output:
Flag Status Register: 0x81 (1 byte)
get-clk-prescaler
Read the current SPI clock prescaler value.
cfgmem_util get-clk-prescaler --url oyster11 --flash-type ospi-single-x8
Example output:
Clock Prescaler: 5
get-qe-bit
Read the Quad Enable bit status and whether quad mode is supported by the flash device.
cfgmem_util get-qe-bit --url oyster11 --flash-type ospi-single-x8
Example output:
Quad Enable Bit: 0, Supported: no