Issue with the RCP-OTA update

Suresh
Posts: 6
Joined: Wed May 03, 2023 5:16 am

Issue with the RCP-OTA update

Postby Suresh » Thu Oct 10, 2024 12:40 pm

Connections :
ESP32S3Dev kit ESP32H2Dev kit

GPIO 4 (TX) <-------> GPIO 4 (RX)
GPIO 5 (RX) <-------> GPIO 5 (TX)
GPIO RST (7) <-------> GPIO RST
GPIO Boot 8 <-------> GPIO Boot 9
ESP-IDF 5.1.4 - branch - main

RCP Example Flashed(esp-idf/examples/openthread/ot_rcp/main/)
S3 example Flashed (esp-thread-br/examples/)

- Tried the same with IDF version ESP-IDF 5.3.1
- Tried Tag v1.0 -> Example versions for the S3 example
- Tried C6 instead of H2.


AS I am trying above combinations of OTA-RCP unfortunately its not working as expected.
Please help me out resolving the issue.



Observation:

S3 able to keep the rcp in boot mode, but update is not starting.

Please find the logs
S3 - Logs
I (44) boot.esp32s3: SPI Mode : DIO
I (48) boot.esp32s3: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (84) boot: 2 phy_init RF data 01 01 00011000 00001000
I (92) boot: 3 ota_0 OTA app 00 10 00020000 00190000
I (99) boot: 4 ota_1 OTA app 00 11 001b0000 00190000
I (107) boot: 5 web_storage Unknown data 01 82 00340000 00019000
I (114) boot: 6 rcp_fw Unknown data 01 82 00359000 000a0000
I (122) boot: End of partition table
I (126) esp_image: segment 0: paddr=00020020 vaddr=3c100020 size=4c384h (312196) map
I (190) esp_image: segment 1: paddr=0006c3ac vaddr=3fc97d00 size=03c6ch ( 15468) load
I (194) esp_image: segment 2: paddr=00070020 vaddr=42000020 size=f13e0h (988128) map
I (373) esp_image: segment 3: paddr=00161408 vaddr=3fc9b96c size=00e5ch ( 3676) load
I (375) esp_image: segment 4: paddr=0016226c vaddr=40374000 size=13c78h ( 81016) load
I (405) boot: Loaded app from partition at offset 0x20000
I (406) boot: Disabling RNG early entropy source...
I (406) cpu_start: Multicore app
I (410) cpu_start: Pro cpu up.
I (413) cpu_start: Starting app cpu, �ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x403758ff
--- 0x403758ff: esp_restart_noos_dig at /home/nagasuresh/esp-idf-v5.1.3/esp-idf/components/esp_system/port/esp_system_chip.c:57 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x1758
load:0x403c9700,len:0x4
load:0x403c9704,len:0xbe4
load:0x403cc700,len:0x2d20
entry 0x403c9908
I (31) boot: ESP-IDF v5.1.4-dirty 2nd stage bootloader
I (31) boot: compile time Oct 10 2024 17:37:56
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v0.2
I (39) boot.esp32s3: Boot SPI Speed : 80MHz
I (44) boot.esp32s3: SPI Mode : DIO
I (48) boot.esp32s3: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (84) boot: 2 phy_init RF data 01 01 00011000 00001000
I (92) boot: 3 ota_0 OTA app 00 10 00020000 00190000
I (99) boot: 4 ota_1 OTA app 00 11 001b0000 00190000
I (107) boot: 5 web_storage Unknown data 01 82 00340000 00019000
I (114) boot: 6 rcp_fw Unknown data 01 82 00359000 000a0000
I (122) boot: End of partition table
I (126) esp_image: segment 0: paddr=00020020 vaddr=3c100020 size=4c384h (312196) map
I (190) esp_image: segment 1: paddr=0006c3ac vaddr=3fc97d00 size=03c6ch ( 15468) load
I (194) esp_image: segment 2: paddr=00070020 vaddr=42000020 size=f13e0h (988128) map

H2 Logs
waiting for download
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0x1 (POWERON),boot:0x4 (DOWNLOAD(USB/UART0))
waiting for download
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0x1 (POWERON),boot:0x4 (DOWNLOAD(USB/UART0))
waiting for download
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0x1 (POWERON),boot:0x4 (DOWNLOAD(USB/UART0))
waiting for download
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0x1 (POWERON),boot:0x4 (DOWNLOAD(USB/UART0))
waiting for download
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0x1 (POWERON),boot:0x4 (DOWNLOAD(USB/UART0))
waiting for download
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0x1 (POWERON),boot:0x4 (DOWNLOAD(USB/UART0))
waiting for download




Regards,
Suresh

Who is online

Users browsing this forum: No registered users and 105 guests