Not able to communicate between esp32 and thunderboard sense2 using ot-rcp .
Posted: Tue Jul 13, 2021 6:48 am
Problem : Not able to communicate between esp32 and thunderboard sense2 using ot-rcp .
Configuration :
1)Flashed thunderboard sense 2 with ot-rcp hex file(using simplicity studio)
2)Build ot-cli using following link : https://github.com/openthread/ot-esp32/ ... /README.md and flash the generated binary to esp32.
3)Connect pin no 12(uart tx) of thunderboard sense 2 to rx pin on esp32 and pin no 14(uart rx) of thunderboard sense 2 to tx pin of esp32.
4)Using 39a4915db205640e099a433944f3a715c253ca65 commit id for ot-esp32
5)Using 3b362071e594375035e063c0c25988b1aa52bd5f commit id for openthread.
6)Tried following configuration for ot-rcp on thunderboard sense 2
1)Gecko SDK Suite: OpenThread 1.1.2.0 (GitHub-5c2ad91cf), Platform
2)Gecko SDK Suite: Amazon, OpenThread 1.2.0.0 (GitHub-cf21d5760), Platform
4)Run the application on esp32 for both of the above mentioned configuration one by one. Got the same failure message on both of the case.
CoreDump backtrace:
abort() was called at PC 0x400d2773 on core 0
0x400d2773: syscall_not_implemented_aborts at /root/esp/esp-idf/components/newlib/syscalls.c:34
Backtrace:0x40085437:0x3ffba440 0x40085ae5:0x3ffba460 0x4008a076:0x3ffba480 0x400d2773:0x3ffba4f0 0x4011bafb:0x3ffba510 0x400e0809:0x3ffba530 0x400e1194:0x3ffba550 0x400e1264:0x3ffba570 0x400dfd97:0x3ffba590 0x400d251d:0x3ffba5b0 0x40087439:0x3ffba600
0x40085437: panic_abort at /root/esp/esp-idf/components/esp_system/panic.c:349
0x40085ae5: esp_system_abort at /root/esp/esp-idf/components/esp_system/system_api.c:104
0x4008a076: abort at /root/esp/esp-idf/components/newlib/abort.c:46
0x400d2773: syscall_not_implemented_aborts at /root/esp/esp-idf/components/newlib/syscalls.c:34
0x4011bafb: exit at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdlib/exit.c:64
0x400e0809: ot::Spinel::RadioSpinel<ot::Esp32::HdlcInterface, otSysMainloopContext>::WaitResponse() at /home/vineet/openthread/ot-esp32/third_party/openthread/src/lib/spinel/radio_spinel_impl.hpp:1349 (discriminator 1)
0x400e1194: ot::Spinel::RadioSpinel<ot::Esp32::HdlcInterface, otSysMainloopContext>::Init(bool, bool) at /home/vineet/openthread/ot-esp32/third_party/openthread/src/lib/spinel/radio_spinel_impl.hpp:217
0x400e1264: platformRadioInit at /home/vineet/openthread/ot-esp32/src/radio.cpp:365
0x400dfd97: otSysInit at /home/vineet/openthread/ot-esp32/src/system.c:60
0x400d251d: run_cli at /home/vineet/openthread/ot-esp32/example/main/cli.c:59
0x40087439: vPortTaskWrapper at /root/esp/esp-idf/components/freertos/xtensa/port.c:169
Configuration :
1)Flashed thunderboard sense 2 with ot-rcp hex file(using simplicity studio)
2)Build ot-cli using following link : https://github.com/openthread/ot-esp32/ ... /README.md and flash the generated binary to esp32.
3)Connect pin no 12(uart tx) of thunderboard sense 2 to rx pin on esp32 and pin no 14(uart rx) of thunderboard sense 2 to tx pin of esp32.
4)Using 39a4915db205640e099a433944f3a715c253ca65 commit id for ot-esp32
5)Using 3b362071e594375035e063c0c25988b1aa52bd5f commit id for openthread.
6)Tried following configuration for ot-rcp on thunderboard sense 2
1)Gecko SDK Suite: OpenThread 1.1.2.0 (GitHub-5c2ad91cf), Platform
2)Gecko SDK Suite: Amazon, OpenThread 1.2.0.0 (GitHub-cf21d5760), Platform
4)Run the application on esp32 for both of the above mentioned configuration one by one. Got the same failure message on both of the case.
CoreDump backtrace:
abort() was called at PC 0x400d2773 on core 0
0x400d2773: syscall_not_implemented_aborts at /root/esp/esp-idf/components/newlib/syscalls.c:34
Backtrace:0x40085437:0x3ffba440 0x40085ae5:0x3ffba460 0x4008a076:0x3ffba480 0x400d2773:0x3ffba4f0 0x4011bafb:0x3ffba510 0x400e0809:0x3ffba530 0x400e1194:0x3ffba550 0x400e1264:0x3ffba570 0x400dfd97:0x3ffba590 0x400d251d:0x3ffba5b0 0x40087439:0x3ffba600
0x40085437: panic_abort at /root/esp/esp-idf/components/esp_system/panic.c:349
0x40085ae5: esp_system_abort at /root/esp/esp-idf/components/esp_system/system_api.c:104
0x4008a076: abort at /root/esp/esp-idf/components/newlib/abort.c:46
0x400d2773: syscall_not_implemented_aborts at /root/esp/esp-idf/components/newlib/syscalls.c:34
0x4011bafb: exit at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdlib/exit.c:64
0x400e0809: ot::Spinel::RadioSpinel<ot::Esp32::HdlcInterface, otSysMainloopContext>::WaitResponse() at /home/vineet/openthread/ot-esp32/third_party/openthread/src/lib/spinel/radio_spinel_impl.hpp:1349 (discriminator 1)
0x400e1194: ot::Spinel::RadioSpinel<ot::Esp32::HdlcInterface, otSysMainloopContext>::Init(bool, bool) at /home/vineet/openthread/ot-esp32/third_party/openthread/src/lib/spinel/radio_spinel_impl.hpp:217
0x400e1264: platformRadioInit at /home/vineet/openthread/ot-esp32/src/radio.cpp:365
0x400dfd97: otSysInit at /home/vineet/openthread/ot-esp32/src/system.c:60
0x400d251d: run_cli at /home/vineet/openthread/ot-esp32/example/main/cli.c:59
0x40087439: vPortTaskWrapper at /root/esp/esp-idf/components/freertos/xtensa/port.c:169