mfg_tool to write BLE address
Join Date: 9 Dec 19
Posts: 1
Posted: Mon, 2019-12-09 19:13
Hi
I want to write BLE address in OTPTLV subsystem by using mfg_tool. My board is ASSY20-YA999 with module YB209H1D0126. I downloaded the pacage qca4020-or-3-0_qca_oem_sdk-mfg.git from Createpoint and build the image ..qca4020-or-3-0_qca_oem_sdk-mfg.git\target\quartz\mfg\m4agent\build\gcc\output and flash the image by qflash.py tool. but when I write BLE address or check otptlv status by using command:
mfg_tool --verbose --otptlv --comm=23 --status
and got error:
Unexpected diag msg arrived while waiting for response:
13 4b 0b 07 01
when write ble address with command:
mfg_tool --verbose --otptlv --write --tag=1 --comm=23 --file ble.bin
got error:
OTPTLV write read from file. Bytes remaining: 16
OTPTLV write read from file. Return value: 16
OTPTLV write data to OTP_TLV:
33 22 11 aa bb cc 00 00 00 00 00 00 00 00 00 00
Unexpected diag msg arrived while waiting for response:
13 4b 0b 06 01 01 00 00 00 10 00 00 00 00 00 00
00
What does this error mean ? and how to write BLE address with mfg_tool?
Thanks,
Noted with thanks.