I am working on the update using OTA. I have experienced a problem with my application. After downloading and restarting, my application hangs in the OTA partition. I have attached the console logs here.
Code: Untitled.txt Select all
I (29) boot: ESP-IDF v4.3-dirty 2nd stage bootloader
I (29) boot: compile time 10:16:50
I (29) boot: chip revision: 1
I (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (48) boot.esp32: 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 00004000
I (77) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (84) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (91) boot: 3 factory factory app 00 00 00010000 00100000
I (99) boot: 4 ota_0 OTA app 00 10 00110000 00100000
I (106) boot: 5 ota_1 OTA app 00 11 00210000 00100000
I (114) boot: End of partition table
I (118) boot_comm: chip revision: 1, min. application chip revision: 0
I (125) esp_image: segment 0: paddr=00110020 vaddr=3f400020 size=25da0h (155040) map
I (193) esp_image: segment 1: paddr=00135dc8 vaddr=3ffb0000 size=04480h ( 17536) load
I (200) esp_image: segment 2: paddr=0013a250 vaddr=40080000 size=05dc8h ( 24008) load
I (210) esp_image: segment 3: paddr=00140020 vaddr=400d0020 size=a5178h (676216) map
I (466) esp_image: segment 4: paddr=001e51a0 vaddr=40085dc8 size=11094h ( 69780) load
I (496) esp_image: segment 5: paddr=001f623c vaddr=50000200 size=00010h ( 16) load
I (508) boot: Loaded app from partition at offset 0x110000
I (509) boot: Disabling RNG early entropy source...
I (520) cpu_start: Pro cpu up.
I (520) cpu_start: Starting app cpu, entry
Also, I have manually flashed the same application binary file on this OTA partition, it still hangs. And same working on factory app partition.
Kindly help me with this.
Regards,
Jainam shah.
