Cxdish Usage
Available options:
-h, --help this help
-D, --device STR specifies the i2c device path, default is '/dev/i2c-0'
-r, --reset GPIO_NUM specifies the RESET GPIO pin number, default is '184'
-a, --address I2C_ADDRESS specifies i2c address, default is '0x41'
-d, --debug enables i2c dump
-v, --version prints cxdish version
-q, --quiet enables quiet mode
1. Read tool version.
./cxdish -v
2. Read firmware version.
./cxdish fw-version
3. enable i2c dump. likes
./cxdish fw-version -d
4. send command to tool.
./cxdish -d sendcmd 0xB32D2300 0x00000004 0xd74c2d00
5. upgrade the firmware.
./cxdish -r 148 -D /dev/i2c-1 flash oem_image.sfs iflash.bin; 148:GPIO#, i2c-1:i2c bus #
Send Command List
SR with wide-beam SSP, 2-ch AEC
cxdish –d sendcmd 0xB32D2300 0x00000004 0x4b7bb300
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)SNW2}
SR with narrow-beam SSP, 2-ch AEC
cxdish –d sendcmd 0xB32D2300 0x00000004 0x4aebb300
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)SNN2}
Wake on Voice with iFlytek/Sensory trigger word
cxdish –d sendcmd 0xB32D2300 0x00000004 0x9aebe300
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)CONF}
SR with narrow-beam SSP, 2-ch AEC,iFlytek trigger word
cxdish –d sendcmd 0xB32D2300 0x00000004 0xa6ecb300
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)SRNI}
SR with wide-beam SSP, 2-ch AEC, iFlytek trigger word
cxdish –d sendcmd 0xB32D2300 0x00000004 0xa77cb300
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)SRWI}
Manufacturing Test at 16KHz, Raw MIC signal output from I2S
cxdish –d sendcmd 0xB32D2300 0x00000004 0x591c2d00
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)MP16}
Manufacturing Test at 16KHz, Raw MIC signal output from USB
cxdish –d sendcmd 0xB32D2300 0x00000004 0xd74c2d00
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)MPTU}
6 Channel Record
cxdish –d sendcmd 0xB32D2300 0x00000004 0xa235b200
golem::sendcmd CTRL CONTROL_APP_EXEC_FILE {(id)R6CH}