I have written program in ESP IDF - OTA server. Below you can see debug data (first part of it is when I start the ESP32 with ESP IDF code).
Then I try to upload new firmware/code via curl written in Arduino IDE. I get an error I have no coredump and no MD5 in partition and the ESP32 rolls back to original IDF code. See the debug below. Debug states I have coredump in my partitions file. What am I doing wrong?
I have sdkconfig from ArduinoIDE component. The partition file is the same on both platforms, so is sdkconfig as I have stated. "Coredump to flash" is enabled by default (https://github.com/espressif/arduino-es ... /sdkconfig). The only thing I have changed is QIO to DIO programming mode + added my own partitions.csv.
BTW. ESP IDF is 4.4.4, Arduino IDE 4.4.3. It all worked on IDF 3.3...
#
# Core dump
#
CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH=y
# CONFIG_ESP_COREDUMP_ENABLE_TO_UART is not set
# CONFIG_ESP_COREDUMP_ENABLE_TO_NONE is not set
# CONFIG_ESP_COREDUMP_DATA_FORMAT_BIN is not set
CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF=y
CONFIG_ESP_COREDUMP_CHECKSUM_CRC32=y
# CONFIG_ESP_COREDUMP_CHECKSUM_SHA256 is not set
CONFIG_ESP_COREDUMP_CHECK_BOOT=y
CONFIG_ESP_COREDUMP_ENABLE=y
CONFIG_ESP_COREDUMP_MAX_TASKS_NUM=64
# end of Core dump
and
CONFIG_PARTITION_TABLE_MD5=y
Any ideas?
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:8400
load:0x40078000,len:16420
ho 0 tail 12 room 4
load:0x40080400,len:4192
entry 0x400806d4
I (28) boot: ESP-IDF v4.4.4-dirty 2nd stage bootloader
I (28) boot: compile time 17:58:18
D (29) bootloader_flash: non-XMC chip detected by SFDP Read (FF), skip.
D (32) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff)
I (39) boot: chip revision: v1.0
I (42) boot_comm: chip revision: 1, min. bootloader chip revision: 0
D (48) boot.esp32: magic e9
D (50) boot.esp32: segments 03
D (53) boot.esp32: spi_mode 02
D (56) boot.esp32: spi_speed 0f
D (59) boot.esp32: spi_size 02
I (62) boot.esp32: SPI Speed : 80MHz
I (65) boot.esp32: SPI Mode : DIO
I (69) boot.esp32: SPI Flash Size : 4MB
D (73) boot: Enabling RTCWDT(9000 ms)
I (76) boot: Enabling RNG early entropy source...
D (80) bootloader_flash: mmu set paddr=00000000 count=1 size=c00 src_addr=9000 src_addr_aligned=0
D (89) boot: mapped partition table 0x9000 at 0x3f409000
D (94) flash_parts: partition table verified, 8 entries
I (99) boot: Partition Table:
I (102) boot: ## Label Usage Type ST Offset Length
D (108) boot: load partition table entry 0x3f409000
D (113) boot: type=1 subtype=2
I (115) boot: 0 nvs WiFi data 01 02 0000a000 00003000
D (122) boot: load partition table entry 0x3f409020
D (127) boot: type=1 subtype=0
I (129) boot: 1 otadata OTA data 01 00 0000d000 00002000
D (136) boot: load partition table entry 0x3f409040
D (141) boot: type=1 subtype=1
I (143) boot: 2 phy_init RF data 01 01 0000f000 00001000
D (150) boot: load partition table entry 0x3f409060
D (155) boot: type=0 subtype=10
I (157) boot: 3 app0 OTA app 00 10 00010000 001d0000
D (164) boot: load partition table entry 0x3f409080
D (169) boot: type=0 subtype=11
I (171) boot: 4 app1 OTA app 00 11 001e0000 001d0000
D (178) boot: load partition table entry 0x3f4090a0
D (183) boot: type=1 subtype=3
I (185) boot: 5 coredump Unknown data 01 03 003b0000 00010000
D (192) boot: load partition table entry 0x3f4090c0
D (197) boot: type=1 subtype=4
I (199) boot: 6 nvs_key NVS keys 01 04 003c0000 00001000
I (206) boot: End of partition table
D (209) boot: OTA data offset 0xd000
D (213) bootloader_flash: mmu set paddr=00000000 count=1 size=2000 src_addr=d000 src_addr_aligned=0
D (221) boot: otadata[0]: sequence values 0xffffffff
D (226) boot: otadata[1]: sequence values 0xffffffff
D (231) boot: OTA sequence numbers both empty (all-0xFF) or partition table does not have bootable ota_apps (app_count=2)
I (241) boot: No factory image, trying OTA 0
D (245) boot: Trying partition index 0 offs 0x10000 size 0x1d0000
D (251) esp_image: reading image header @ 0x10000
D (256) bootloader_flash: mmu set block paddr=0x00010000 (was 0xffffffff)
D (262) esp_image: image header: 0xe9 0x05 0x02 0x02 40081408
I (268) boot_comm: chip revision: 1, min. application chip revision: 0
V (274) esp_image: loading segment header 0 at offset 0x10018
V (279) esp_image: segment data length 0x1265c data starts 0x10020
V (285) esp_image: segment 0 map_segment 1 segment_data_offs 0x10020 load_addr 0x3f400020
I (293) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1265ch ( 75356) map
D (301) esp_image: free data page_count 0x00000032
D (305) bootloader_flash: mmu set paddr=00010000 count=2 size=1265c src_addr=10020 src_addr_aligned=10000
V (337) esp_image: loading segment header 1 at offset 0x2267c
D (337) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
V (338) esp_image: segment data length 0x62d4 data starts 0x22684
V (344) esp_image: segment 1 map_segment 0 segment_data_offs 0x22684 load_addr 0x3ffbdb60
I (352) esp_image: segment 1: paddr=00022684 vaddr=3ffbdb60 size=062d4h ( 25300) load
D (359) esp_image: free data page_count 0x00000032
D (364) bootloader_flash: mmu set paddr=00020000 count=1 size=62d4 src_addr=22684 src_addr_aligned=20000
V (382) esp_image: loading segment header 2 at offset 0x28958
D (382) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
V (385) esp_image: segment data length 0x76b8 data starts 0x28960
V (391) esp_image: segment 2 map_segment 0 segment_data_offs 0x28960 load_addr 0x40080000
I (399) esp_image: segment 2: paddr=00028960 vaddr=40080000 size=076b8h ( 30392) load
D (406) esp_image: free data page_count 0x00000032
D (411) bootloader_flash: mmu set paddr=00020000 count=2 size=76b8 src_addr=28960 src_addr_aligned=20000
V (431) esp_image: loading segment header 3 at offset 0x30018
D (431) bootloader_flash: mmu set block paddr=0x00030000 (was 0xffffffff)
V (432) esp_image: segment data length 0x7e274 data starts 0x30020
V (438) esp_image: segment 3 map_segment 1 segment_data_offs 0x30020 load_addr 0x400d0020
I (446) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=7e274h (516724) map
D (453) esp_image: free data page_count 0x00000032
D (458) bootloader_flash: mmu set paddr=00030000 count=8 size=7e274 src_addr=30020 src_addr_aligned=30000
V (623) esp_image: loading segment header 4 at offset 0xae294
D (623) bootloader_flash: mmu set block paddr=0x000a0000 (was 0xffffffff)
V (624) esp_image: segment data length 0xac18 data starts 0xae29c
V (630) esp_image: segment 4 map_segment 0 segment_data_offs 0xae29c load_addr 0x400876b8
I (638) esp_image: segment 4: paddr=000ae29c vaddr=400876b8 size=0ac18h ( 44056) load
D (645) esp_image: free data page_count 0x00000032
D (650) bootloader_flash: mmu set paddr=000a0000 count=2 size=ac18 src_addr=ae29c src_addr_aligned=a0000
V (675) esp_image: image start 0x00010000 end of last section 0x000b8eb4
D (675) bootloader_flash: mmu set block paddr=0x000b0000 (was 0xffffffff)
D (676) boot: Calculated hash: 18ec223d16918a8e18b25bcd1e2efeb3a87064ead20309db59407594607fc371
I (694) boot: Loaded app from partition at offset 0x10000
I (744) boot: Set actual ota_seq=1 in otadata[0]
I (744) boot: Disabling RNG early entropy source...
D (744) boot: Mapping segment 0 as DROM
D (745) boot: Mapping segment 3 as IROM
D (749) boot: calling set_cache_and_start_app
D (753) boot: configure drom and irom and start
V (757) boot: d mmu set paddr=00010000 vaddr=3f400000 size=75356 n=2
V (763) boot: rc=0
V (765) boot: rc=0
V (767) boot: i mmu set paddr=00030000 vaddr=400d0000 size=516724 n=8
V (773) boot: rc=0
V (775) boot: rc=0
D (776) boot: start: 0x40081408
This is esp32 chip with 2 CPU core(s), WiFi/BT/BLE, silicon revision 1, 4MB external flash
Minimum free heap size: 267528 bytes
OTA: curl 192.168.1.120:8000 --data-binary @- < app.bin
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:8400
load:0x40078000,len:16420
ho 0 tail 12 room 4
load:0x40080400,len:4192
entry 0x400806d4
I (29) boot: ESP-IDF v4.4.4-dirty 2nd stage bootloader
I (29) boot: compile time 17:58:18
D (29) bootloader_flash: non-XMC chip detected by SFDP Read (FF), skip.
D (33) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff)
I (39) boot: chip revision: v1.0
I (42) boot_comm: chip revision: 1, min. bootloader chip revision: 0
D (48) boot.esp32: magic e9
D (51) boot.esp32: segments 03
D (54) boot.esp32: spi_mode 02
D (56) boot.esp32: spi_speed 0f
D (59) boot.esp32: spi_size 02
I (62) boot.esp32: SPI Speed : 80MHz
I (66) boot.esp32: SPI Mode : DIO
I (69) boot.esp32: SPI Flash Size : 4MB
D (73) boot: Enabling RTCWDT(9000 ms)
I (76) boot: Enabling RNG early entropy source...
D (81) bootloader_flash: mmu set paddr=00000000 count=1 size=c00 src_addr=9000 src_addr_aligned=0
D (89) boot: mapped partition table 0x9000 at 0x3f409000
D (95) flash_parts: partition table verified, 8 entries
I (99) boot: Partition Table:
I (102) boot: ## Label Usage Type ST Offset Length
D (108) boot: load partition table entry 0x3f409000
D (113) boot: type=1 subtype=2
I (116) boot: 0 nvs WiFi data 01 02 0000a000 00003000
D (122) boot: load partition table entry 0x3f409020
D (127) boot: type=1 subtype=0
I (130) boot: 1 otadata OTA data 01 00 0000d000 00002000
D (136) boot: load partition table entry 0x3f409040
D (141) boot: type=1 subtype=1
I (144) boot: 2 phy_init RF data 01 01 0000f000 00001000
D (150) boot: load partition table entry 0x3f409060
D (155) boot: type=0 subtype=10
I (158) boot: 3 app0 OTA app 00 10 00010000 001d0000
D (164) boot: load partition table entry 0x3f409080
D (169) boot: type=0 subtype=11
I (172) boot: 4 app1 OTA app 00 11 001e0000 001d0000
D (179) boot: load partition table entry 0x3f4090a0
D (183) boot: type=1 subtype=3
I (186) boot: 5 coredump Unknown data 01 03 003b0000 00010000
D (193) boot: load partition table entry 0x3f4090c0
D (197) boot: type=1 subtype=4
I (200) boot: 6 nvs_key NVS keys 01 04 003c0000 00001000
I (207) boot: End of partition table
D (210) boot: OTA data offset 0xd000
D (213) bootloader_flash: mmu set paddr=00000000 count=1 size=2000 src_addr=d000 src_addr_aligned=0
D (222) boot: otadata[0]: sequence values 0x00000001
D (227) boot: otadata[1]: sequence values 0x00000002
D (231) boot_comm: Both OTA copies are valid
D (235) boot: Active otadata[1]
D (238) boot: Mapping seq 1 -> OTA slot 1
D (242) boot: otadata[1] is selected as new and marked PENDING_VERIFY state
D (291) boot: Trying partition index 1 offs 0x1e0000 size 0x1d0000
D (291) esp_image: reading image header @ 0x1e0000
D (291) bootloader_flash: mmu set block paddr=0x001e0000 (was 0xffffffff)
D (297) esp_image: image header: 0xe9 0x06 0x02 0x02 40082cdc
I (302) boot_comm: chip revision: 1, min. application chip revision: 0
V (309) esp_image: loading segment header 0 at offset 0x1e0018
V (314) esp_image: segment data length 0x34828 data starts 0x1e0020
V (320) esp_image: segment 0 map_segment 1 segment_data_offs 0x1e0020 load_addr 0x3f400020
I (328) esp_image: segment 0: paddr=001e0020 vaddr=3f400020 size=34828h (215080) map
D (336) esp_image: free data page_count 0x00000032
D (340) bootloader_flash: mmu set paddr=001e0000 count=4 size=34828 src_addr=1e0020 src_addr_aligned=1e0000
V (415) esp_image: loading segment header 1 at offset 0x214848
D (415) bootloader_flash: mmu set block paddr=0x00210000 (was 0xffffffff)
V (416) esp_image: segment data length 0x7128 data starts 0x214850
V (421) esp_image: segment 1 map_segment 0 segment_data_offs 0x214850 load_addr 0x3ffbdb60
I (429) esp_image: segment 1: paddr=00214850 vaddr=3ffbdb60 size=07128h ( 28968) load
D (437) esp_image: free data page_count 0x00000032
D (441) bootloader_flash: mmu set paddr=00210000 count=1 size=7128 src_addr=214850 src_addr_aligned=210000
V (461) esp_image: loading segment header 2 at offset 0x21b978
D (461) bootloader_flash: mmu set block paddr=0x00210000 (was 0xffffffff)
V (463) esp_image: segment data length 0x4698 data starts 0x21b980
V (469) esp_image: segment 2 map_segment 0 segment_data_offs 0x21b980 load_addr 0x40080000
I (477) esp_image: segment 2: paddr=0021b980 vaddr=40080000 size=04698h ( 18072) load
D (484) esp_image: free data page_count 0x00000032
D (489) bootloader_flash: mmu set paddr=00210000 count=2 size=4698 src_addr=21b980 src_addr_aligned=210000
V (505) esp_image: loading segment header 3 at offset 0x220018
D (505) bootloader_flash: mmu set block paddr=0x00220000 (was 0xffffffff)
V (510) esp_image: segment data length 0x1391e0 data starts 0x220020
V (516) esp_image: segment 3 map_segment 1 segment_data_offs 0x220020 load_addr 0x400d0020
I (524) esp_image: segment 3: paddr=00220020 vaddr=400d0020 size=1391e0h (1282528) map
D (532) esp_image: free data page_count 0x00000032
D (537) bootloader_flash: mmu set paddr=00220000 count=20 size=1391e0 src_addr=220020 src_addr_aligned=220000
V (934) esp_image: loading segment header 4 at offset 0x359200
D (934) bootloader_flash: mmu set block paddr=0x00350000 (was 0xffffffff)
V (934) esp_image: segment data length 0x17394 data starts 0x359208
V (940) esp_image: segment 4 map_segment 0 segment_data_offs 0x359208 load_addr 0x40084698
I (948) esp_image: segment 4: paddr=00359208 vaddr=40084698 size=17394h ( 95124) load
D (956) esp_image: free data page_count 0x00000032
D (960) bootloader_flash: mmu set paddr=00350000 count=3 size=17394 src_addr=359208 src_addr_aligned=350000
V (1004) esp_image: loading segment header 5 at offset 0x37059c
D (1004) bootloader_flash: mmu set block paddr=0x00370000 (was 0xffffffff)
V (1005) esp_image: segment data length 0x10 data starts 0x3705a4
V (1010) esp_image: segment 5 map_segment 0 segment_data_offs 0x3705a4 load_addr 0x50000200
I (1018) esp_image: segment 5: paddr=003705a4 vaddr=50000200 size=00010h ( 16) load
D (1026) esp_image: free data page_count 0x00000032
D (1031) bootloader_flash: mmu set paddr=00370000 count=1 size=10 src_addr=3705a4 src_addr_aligned=370000
V (1040) esp_image: image start 0x001e0000 end of last section 0x003705b4
D (1046) bootloader_flash: mmu set block paddr=0x00370000 (was 0xffffffff)
D (1053) boot: Calculated hash: d4c1311934ef70d7c075dba56fff4e7b97cdb01f011afab5e4ffd6a6eb1e9347
I (1076) boot: Loaded app from partition at offset 0x1e0000
I (1076) boot: Disabling RNG early entropy source...
D (1076) boot: Mapping segment 0 as DROM
D (1078) boot: Mapping segment 3 as IROM
D (1082) boot: calling set_cache_and_start_app
D (1086) boot: configure drom and irom and start
V (1090) boot: d mmu set paddr=001e0000 vaddr=3f400000 size=215080 n=4
V (1096) boot: rc=0
V (1098) boot: rc=0
V (1100) boot: i mmu set paddr=00220000 vaddr=400d0000 size=1282528 n=20
V (1107) boot: rc=0
V (1108) boot: rc=0
D (1110) boot: start: 0x40082cdc
E (1136) partition: No MD5 found in partition table
E (1136) partition: load_partitions returned 0x105
E (1136) esp_core_dump_flash: No core dump partition found!
E (1139) partition: No MD5 found in partition table
E (1144) partition: load_partitions returned 0x105
E (1148) esp_core_dump_flash: No core dump partition found!
E (1156) partition: No MD5 found in partition table
E (1158) partition: load_partitions returned 0x105
assert failed: esp_ota_get_running_partition esp_ota_ops.c:553 (it != NULL)
Backtrace: 0x400837dd:0x3ffbcba0 0x40094a1d:0x3ffbcbc0 0x4009a02d:0x3ffbcbe0 0x400e60b2:0x3ffbcd10 0x400dfed7:0x3ffbcd30 0x400e2094:0x3ffbcd60 0x40207a3f:0x3ffbcd90
ELF file SHA256: 80ea8f30478b3d2f
E (1188) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:8400
load:0x40078000,len:16420
ho 0 tail 12 room 4
load:0x40080400,len:4192
entry 0x400806d4
I (29) boot: ESP-IDF v4.4.4-dirty 2nd stage bootloader
I (29) boot: compile time 17:58:18
D (29) bootloader_flash: non-XMC chip detected by SFDP Read (FF), skip.
D (33) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff)
I (39) boot: chip revision: v1.0
I (42) boot_comm: chip revision: 1, min. bootloader chip revision: 0
D (48) boot.esp32: magic e9
D (51) boot.esp32: segments 03
D (54) boot.esp32: spi_mode 02
D (56) boot.esp32: spi_speed 0f
D (59) boot.esp32: spi_size 02
I (62) boot.esp32: SPI Speed : 80MHz
I (66) boot.esp32: SPI Mode : DIO
I (69) boot.esp32: SPI Flash Size : 4MB
D (73) boot: Enabling RTCWDT(9000 ms)
I (76) boot: Enabling RNG early entropy source...
D (81) bootloader_flash: mmu set paddr=00000000 count=1 size=c00 src_addr=9000 src_addr_aligned=0
D (89) boot: mapped partition table 0x9000 at 0x3f409000
D (94) flash_parts: partition table verified, 8 entries
I (99) boot: Partition Table:
I (102) boot: ## Label Usage Type ST Offset Length
D (108) boot: load partition table entry 0x3f409000
D (113) boot: type=1 subtype=2
I (116) boot: 0 nvs WiFi data 01 02 0000a000 00003000
D (122) boot: load partition table entry 0x3f409020
D (127) boot: type=1 subtype=0
I (130) boot: 1 otadata OTA data 01 00 0000d000 00002000
D (136) boot: load partition table entry 0x3f409040
D (141) boot: type=1 subtype=1
I (144) boot: 2 phy_init RF data 01 01 0000f000 00001000
D (150) boot: load partition table entry 0x3f409060
D (155) boot: type=0 subtype=10
I (158) boot: 3 app0 OTA app 00 10 00010000 001d0000
D (164) boot: load partition table entry 0x3f409080
D (169) boot: type=0 subtype=11
I (172) boot: 4 app1 OTA app 00 11 001e0000 001d0000
D (179) boot: load partition table entry 0x3f4090a0
D (183) boot: type=1 subtype=3
I (186) boot: 5 coredump Unknown data 01 03 003b0000 00010000
D (193) boot: load partition table entry 0x3f4090c0
D (197) boot: type=1 subtype=4
I (200) boot: 6 nvs_key NVS keys 01 04 003c0000 00001000
I (207) boot: End of partition table
D (210) boot: OTA data offset 0xd000
D (213) bootloader_flash: mmu set paddr=00000000 count=1 size=2000 src_addr=d000 src_addr_aligned=0
D (222) boot: otadata[0]: sequence values 0x00000001
D (227) boot: otadata[1]: sequence values 0x00000002
D (231) boot: otadata[1] is marking as ABORTED
D (276) boot_comm: Only otadata[0] is valid
D (276) boot: Active otadata[0]
D (276) boot: Mapping seq 0 -> OTA slot 0
D (277) boot: Trying partition index 0 offs 0x10000 size 0x1d0000
D (281) esp_image: reading image header @ 0x10000
D (286) bootloader_flash: mmu set block paddr=0x00010000 (was 0xffffffff)
D (292) esp_image: image header: 0xe9 0x05 0x02 0x02 40081408
I (298) boot_comm: chip revision: 1, min. application chip revision: 0
V (304) esp_image: loading segment header 0 at offset 0x10018
V (310) esp_image: segment data length 0x1265c data starts 0x10020
V (315) esp_image: segment 0 map_segment 1 segment_data_offs 0x10020 load_addr 0x3f400020
I (323) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1265ch ( 75356) map
D (331) esp_image: free data page_count 0x00000032
D (335) bootloader_flash: mmu set paddr=00010000 count=2 size=1265c src_addr=10020 src_addr_aligned=10000
V (368) esp_image: loading segment header 1 at offset 0x2267c
D (368) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
V (368) esp_image: segment data length 0x62d4 data starts 0x22684
V (374) esp_image: segment 1 map_segment 0 segment_data_offs 0x22684 load_addr 0x3ffbdb60
I (382) esp_image: segment 1: paddr=00022684 vaddr=3ffbdb60 size=062d4h ( 25300) load
D (390) esp_image: free data page_count 0x00000032
D (394) bootloader_flash: mmu set paddr=00020000 count=1 size=62d4 src_addr=22684 src_addr_aligned=20000
V (412) esp_image: loading segment header 2 at offset 0x28958
D (412) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
V (415) esp_image: segment data length 0x76b8 data starts 0x28960
V (421) esp_image: segment 2 map_segment 0 segment_data_offs 0x28960 load_addr 0x40080000
I (429) esp_image: segment 2: paddr=00028960 vaddr=40080000 size=076b8h ( 30392) load
D (437) esp_image: free data page_count 0x00000032
D (441) bootloader_flash: mmu set paddr=00020000 count=2 size=76b8 src_addr=28960 src_addr_aligned=20000
V (461) esp_image: loading segment header 3 at offset 0x30018
D (461) bootloader_flash: mmu set block paddr=0x00030000 (was 0xffffffff)
V (462) esp_image: segment data length 0x7e274 data starts 0x30020
V (468) esp_image: segment 3 map_segment 1 segment_data_offs 0x30020 load_addr 0x400d0020
I (476) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=7e274h (516724) map
D (484) esp_image: free data page_count 0x00000032
D (488) bootloader_flash: mmu set paddr=00030000 count=8 size=7e274 src_addr=30020 src_addr_aligned=30000
V (653) esp_image: loading segment header 4 at offset 0xae294
D (654) bootloader_flash: mmu set block paddr=0x000a0000 (was 0xffffffff)
V (654) esp_image: segment data length 0xac18 data starts 0xae29c
V (660) esp_image: segment 4 map_segment 0 segment_data_offs 0xae29c load_addr 0x400876b8
I (668) esp_image: segment 4: paddr=000ae29c vaddr=400876b8 size=0ac18h ( 44056) load
D (675) esp_image: free data page_count 0x00000032
D (680) bootloader_flash: mmu set paddr=000a0000 count=2 size=ac18 src_addr=ae29c src_addr_aligned=a0000
V (705) esp_image: image start 0x00010000 end of last section 0x000b8eb4
D (705) bootloader_flash: mmu set block paddr=0x000b0000 (was 0xffffffff)
D (707) boot: Calculated hash: 18ec223d16918a8e18b25bcd1e2efeb3a87064ead20309db59407594607fc371
I (725) boot: Loaded app from partition at offset 0x10000
I (725) boot: Disabling RNG early entropy source...
D (725) boot: Mapping segment 0 as DROM
D (728) boot: Mapping segment 3 as IROM
D (732) boot: calling set_cache_and_start_app
D (736) boot: configure drom and irom and start
V (740) boot: d mmu set paddr=00010000 vaddr=3f400000 size=75356 n=2
V (746) boot: rc=0
V (748) boot: rc=0
V (750) boot: i mmu set paddr=00030000 vaddr=400d0000 size=516724 n=8
V (756) boot: rc=0
V (758) boot: rc=0
D (759) boot: start: 0x40081408
This is esp32 chip with 2 CPU core(s), WiFi/BT/BLE, silicon revision 1, 4MB external flash
Minimum free heap size: 267528 bytes
OTA: curl 192.168.1.120:8000 --data-binary @- < app.bin
21.2.2023 I have updated both ESP IDF(it was already up to date) and Arduino ESP32 (ESP32 Arduino 2.0.7 based on ESP-IDF 4.4.4 Latest) and NO difference. Same errors.