espressif / esp-thread-br

Espressif Thread Border Router SDK
Apache License 2.0
96 stars 19 forks source link

Unable to get the Thread network set up with the ESP TBR (TZ-1002) #80

Closed pavel808 closed 1 month ago

pavel808 commented 1 month ago

I have the ESP TBR : https://docs.espressif.com/projects/esp-thread-br/en/latest/hardware_platforms.html

I am following the instructions here to build and flash the host ESP32-C3 SOC as follows : https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html#configure-esp-thread-border-router

I am having issues. The documentation is not clear. I'd apreciate any help with this. Thanks in advance.

Does this command look ok ? It fails as follows :

Run command failure: examples/chip-tool/commands/common/CHIPCommand.cpp:617: CHIP Error 0x00000032: Timeout

chshu commented 1 month ago

@pavel808 If you have the ESP Thread Border Router board, please follow this instruction step by step: https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html#build-and-run. In this case, both S3 and H2 firmwares will be combined and flashed to S3, S3 will download the firmware to H2 over UART automaticlly on the first boot.

If you don't have the ESP Thread Border Router board, but want to setup with standalong boards, please follow this instruction: https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_br#hardware-required, connect the two SoCs via uart, then flash ot_br firmware to host SoC, flash ot_rcp firmware to H2 SoC, so the two will work together as a Thread BR.

To test matter Thread commissioning, you need a BR setup (either the ESP ESP Thread Border Router board or two standalong SoCs combination) and a Thread matter device (ESP32-H2), the matter command looks good, please ensure the Matter Thread device is ready and broadcasting the BLE service.

pavel808 commented 1 month ago

@chshu Again, thanks for your reply. I have the ESP Thread Border Router board which has both the S3 and H2 . I have followed the instructions here, flashed and configured the S3 as instructed : https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html#build-and-run

For my Thread end devices I have these ESP32-C6 development boards : https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32c6/esp32-c6-devkitc-1/user_guide.html#getting-started . These should support Thread as an end device according to the documentation?

The device is ready and is broadcasting the BLE service when I try to commission. I can commission via Wi-fi without any issues, just via Thread it is failing as in the post above. I'm not sure what is going wrong here.

chshu commented 1 month ago

follow up in https://github.com/espressif/esp-thread-br/issues/81