kurisaW / Summer-of-Open-Source

记录开源之夏
MIT License
5 stars 0 forks source link

【报错信息】CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:537: CHIP Error 0x00000032: Timeout #22

Closed kurisaW closed 1 year ago

kurisaW commented 1 year ago

问题描述

在使用chip tools并基于BLE调试控制LED灯亮灭时报错:

...
[1685443463.676992][26263:26263] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:537: CHIP Error 0x00000032: Timeout

参考此issue

解决方案

重新擦除闪存并再次重新调试即可

idf.py -p /dev/ttyUSB0 erase_flash
idf.py -p /dev/ttyUSB0 flash monitor
out/debug/chip-tool pairing ble-wifi 0x7283 jetbot jetbotwyq 20202021 3840
out/debug/chip-tool onoff off 0x7896 0x1