Thread border router with S3 and C6

mrazekfilip
Posts: 1
Joined: Tue Nov 28, 2023 7:11 pm

Thread border router with S3 and C6

Postby mrazekfilip » Tue Nov 28, 2023 8:39 pm

Hello,
I have custom board with ESP32-S3 and ESP32-C6 on it. I want to flash it with thread border router. I followed this tutorial: https://openthread.io/guides/border-rou ... ssif-esp32 and changed a few things.

I changed the target of OT-RCP from esp32h2 to esp32c6 and changed pins in `sdkconfig.ci.rcp` to:
CONFIG_OPENTHREAD_UART_PIN_MANUAL=y
CONFIG_OPENTHREAD_UART_RX_PIN=16
CONFIG_OPENTHREAD_UART_TX_PIN=17
and in esp-thread-br/examples/basic_thread_border_router I changed pins to:
CONFIG_PIN_TO_RCP_RESET=16
CONFIG_PIN_TO_RCP_BOOT=17
CONFIG_PIN_TO_RCP_TX=15
CONFIG_PIN_TO_RCP_RX=7

After flashing the firmware the esp is still restarting after a few seconds. The output is the following:

Code: Select all

SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:1
load:0x3fce3810,len:0x178c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xbfc
load:0x403cc700,len:0x2d68
entry 0x403c9900
I (37) boot: ESP-IDF v5.3-dev-422-ga7fbf452fa-dirty 2nd stage bootloader
I (38) boot: compile time Nov 28 2023 20:54:03
I (39) boot: Multicore bootloader
I (43) boot: chip revision: v0.1
I (47) boot.esp32s3: Boot SPI Speed : 80MHz
I (51) boot.esp32s3: SPI Mode       : SLOW READ
I (57) boot.esp32s3: SPI Flash Size : 4MB
I (61) boot: Enabling RNG early entropy source...
I (67) boot: Partition Table:
I (70) boot: ## Label            Usage          Type ST Offset   Length
I (78) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (85) boot:  1 otadata          OTA data         01 00 0000f000 00002000
I (93) boot:  2 phy_init         RF data          01 01 00011000 00001000
I (100) boot:  3 ota_0            OTA app          00 10 00020000 00190000
I (108) boot:  4 ota_1            OTA app          00 11 001b0000 00190000
I (115) boot:  5 web_storage      Unknown data     01 82 00340000 00019000
I (123) boot:  6 rcp_fw           Unknown data     01 82 00359000 000a0000
I (130) boot: End of partition table
I (135) esp_image: segment 0: paddr=00020020 vaddr=3c0f0020 size=4ee3ch (323132) map
I (220) esp_image: segment 1: paddr=0006ee64 vaddr=3fc97b00 size=011b4h (  4532) load
I (221) esp_image: segment 2: paddr=00070020 vaddr=42000020 size=ed8d8h (973016) map
I (457) esp_image: segment 3: paddr=0015d900 vaddr=3fc98cb4 size=039b0h ( 14768) load
I (461) esp_image: segment 4: paddr=001612b8 vaddr=40374000 size=13a50h ( 80464) load
I (493) boot: Loaded app from partition at offset 0x20000
I (493) boot: Disabling RNG early entropy source...
I (493) ��ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037588d
0x4037588d: esp_restart_noos at /Users/filipmr/esp/esp-idf/components/esp_system/port/soc/esp32s3/system_internal.c:158

What could cause the problem? I'm pretty much stuck and don't know how to investigate the error further. Is it possible to run a thread border router with C6 instead of H2?

Thank you for your answers.

PS: here is a simplified schematic of the board:
schematic_tbr.png
schematic_tbr.png (510.28 KiB) Viewed 3134 times

JoseAntonioMG
Posts: 3
Joined: Mon Mar 25, 2024 6:18 pm

Re: Thread border router with S3 and C6

Postby JoseAntonioMG » Mon Mar 25, 2024 8:40 pm

Hello mrazekfilip,
I have the same problem as you, could you tell me if you solved it? And if so, how did you do it?

Thanks and regards,
Jose Antonio

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], jimmy98035@gmail.com and 46 guests