Hi All,
I'm using ESP32S3, ESP-idf ver 4.0.
My application is running on core 0(single core only).
I have tested OTA_NATIVE _EXAMPLE, and it was working fine.
I was using below customize partition table.
# Name Type SubType Offset Size
nvs 0x01 nvs 0x9000 0x4000
otadata 0x01 ota 0xd000 0x2000
phy_init 0x01 phy 0xf000 0x1000
ota_0 0x00 ota_0 0x110000 1M
ota_1 0x00 ota_1 0x210000 1M
I added same patch into main application where we are using FATfs for storing data, along with MINIz compression/decompression library.
I am using below custimize partition table:
# Name, Type, SubType, Offset, Size,
nvs, data, nvs, 0x11000, 0x8000,
otadata, 0x01, ota, 0x19000, 0x2000,
phy_init, data, phy, 0x21000, 0x3000,
ota_0, app, ota_0, 0x110000, 0x140000,
ota_1, app, ota_1, 0x250000, 0x140000,
fatfs_storage, data, fat, , 4M,
After this, am getting SHA-256 issue, where code is halted at "esp_partition_get_sha256" for bootloader. and it triggers "TG0WDT_SYS_RST".
When I commented out FATfs code(except memory allocation in partition table), fota worked, but reboots when restarted after fota is successful.
got below logs:
//**************************************************************************************************************************************************//
D (83658) esp_image: free data page_count 0x000000f0
D (83658) boot: Calculated hash: d59e5b86607155907fb61273eef29c170285c47e259c0debce784f226e58a85a
D (83668) boot_comm: Only otadata[0] is valid
D (83668) esp_ota_ops: Monitoring the first boot of the app is enabled.
I (83718) >: FOTA SUCCESS ....!
I (83718) native_ota_example: Prepare to restart system!
D (83718) wifi:connect status 5 -> 0
D (83718) wifi:Start wifi disconnect
I (83718) wifi:state: run -> init (0)
D (83718) wifi:connect status 0 -> 6
D (83728) wifi:stop beacon/connect timer, send diassoc(8)
D (83728) wifi:sta leave
I (83728) wifi:pm stop, total sleep time: 6785593 us / 76228424 us
D (83738) wifi:stop CSA timer
W (83738) wifi:<ba-del>idx
D (83748) wifi:remove f2:6f:93:41:32:b9 from rc list
I (83748) wifi<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
D (83758) wifi:filter: set rx policy=8
D (83758) wifi:Send disconnect event, reason=8, AP number=0
D (83768) wifi:connect status 6 -> 0
D (83768) wifi:filter: set rx policy=8
D (83768) wifi:filter: set rx policy=2
D (83778) wifi:clear blacklist
D (83778) wifi:clear rc list
D (83778) event: running post WIFI_EVENT:5 with handler 0x4203af10 and context 0x3fced800 on loop 0x3fce92cc
D (83788) esp_netif_handlers: esp_netif action disconnected with netif0x3fced4f8 from event_id=5
D (83798) esp_netif_lwip: check: remote, if=0x3fced4f8 fn=0x420359ec
D (83808) esp_netif_lwip: esp_netif_down_api esp_netif:0x3fced4f8
D (83808) esp_netif_lwip: esp_netif_dhcpc_cb lwip-netif:0x3fced578
I (83818) wifi:D (83818) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3fced4f8
flush txq
D (83828) esp_netif_lwip: if0x3fced4f8 start ip lost tmr: interval=120
I (83828) wifi:stop sw txq
D (83838) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3fced4f8
D (83838) wifi:D (83838) esp_netif_lwip: if0x3fced4f8 start ip lost tmr: already started
filter: set rx policy=0D (83848) esp_netif_lwip: check: local, if=0x3fced4f8 fn=0x4203613c
D (83858) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3fced4f8
I (83858) wifi:D (83868) esp_netif_lwip: call api in lwip: ret=0x0, give sem
lmac stop hw txq
D (83878) ADC: Wi-Fi returns adc2 lock.
D (83878) event: running post WIFI_EVENT:5 with handler 0x42017b08 and context 0x3fcee4b8 on loop 0x3fce92cc
I (83888) WiFi: retry to connect to the AP
I (83898) WiFi: connect to the AP fail
D (83898) event: running post WIFI_EVENT:3 with handler 0x4203adc4 and context 0x3fced7a0 on loop 0x3fce92cc
D (83908) esp_netif_handlers: esp_netif action stopped with netif0x3fced4f8 from event_id=3
D (83918) esp_netif_lwip: check: remote, if=0x3fced4f8 fn=0x42035924
D (83918) esp_netif_lwip: call api in lwip: ret=0x5002, give sem
øESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x29 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375adc
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x1f68
load:0x403b6000,len:0xcbc
load:0x403ba000,len:0x2f84
entry 0x403b6280
I (29) boot: ESP-IDF v4.4.1-dirty 2nd stage bootloader
I (29) boot: compile time 22:54:28
D (29) bootloader_flash: non-XMC chip detected by SFDP Read (C8), skip.
D (34) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff)
I (41) boot: chip revision: 0
D (45) boot.esp32s3: magic e9
D (48) boot.esp32s3: segments 03
D (51) boot.esp32s3: spi_mode 02
D (55) boot.esp32s3: spi_speed 0f
D (58) boot.esp32s3: spi_size 03
I (61) boot.esp32s3: Boot SPI Speed : 80MHz
I (66) boot.esp32s3: SPI Mode : DIO
I (71) boot.esp32s3: SPI Flash Size : 8MB
I (75) boot: Enabling RNG early entropy source...
D (81) bootloader_flash: mmu set paddr=00010000 count=1 size=c00 src_addr=10000 src_addr_aligned=10000
D (90) boot: mapped partition table 0x10000 at 0x3c000000
D (96) flash_parts: partition table verified, 7 entries
I (101) boot: Partition Table:
I (105) boot: ## Label Usage Type ST Offset Length
D (112) boot: load partition table entry 0x3c000000
D (117) boot: type=1 subtype=2
I (120) boot: 0 nvs WiFi data 01 02 00011000 00008000
D (128) boot: load partition table entry 0x3c000020
D (133) boot: type=1 subtype=0
I (136) boot: 1 otadata OTA data 01 00 00019000 00002000
D (143) boot: load partition table entry 0x3c000040
D (148) boot: type=1 subtype=1
I (151) boot: 2 phy_init RF data 01 01 00021000 00003000
D (159) boot: load partition table entry 0x3c000060
D (164) boot: type=0 subtype=10
I (167) boot: 3 ota_0 OTA app 00 10 00110000 00140000
D (175) boot: load partition table entry 0x3c000080
D (180) boot: type=0 subtype=11
I (183) boot: 4 ota_1 OTA app 00 11 00250000 00140000
D (190) boot: load partition table entry 0x3c0000a0
D (195) boot: type=1 subtype=81
I (199) boot: 5 fatfs_storage Unknown data 01 81 00390000 00400000
I (206) boot: End of partition table
D (210) boot: OTA data offset 0x19000
D (214) bootloader_flash: mmu set paddr=00010000 count=1 size=2000 src_addr=19000 src_addr_aligned=10000
D (224) boot: otadata[0]: sequence values 0x00000001
D (229) boot: otadata[1]: sequence values 0x00000002
D (234) boot_comm: Both OTA copies are valid
D (238) boot: Active otadata[1]
D (241) boot: Mapping seq 1 -> OTA slot 1
D (245) boot: otadata[1] is selected as new and marked PENDING_VERIFY state
D (289) boot: Trying partition index 1 offs 0x250000 size 0x140000
D (289) esp_image: reading image header @ 0x250000
D (289) bootloader_flash: mmu set block paddr=0x00250000 (was 0xffffffff)
D (296) esp_image: image header: 0xe9 0x07 0x02 0x03 403755e0
I (301) esp_image: segment 0: paddr=00250020 vaddr=3c0c0020 size=2d688h (185992) map
D (310) esp_image: free data page_count 0x0000003f
D (315) bootloader_flash: mmu set paddr=00250000 count=3 size=2d688 src_addr=250020 src_addr_aligned=250000
D (358) bootloader_flash: mmu set block paddr=0x00270000 (was 0xffffffff)
I (358) esp_image: segment 1: paddr=0027d6b0 vaddr=3fc99870 size=02968h ( 10600) load
D (362) esp_image: free data page_count 0x0000003f
D (367) bootloader_flash: mmu set paddr=00270000 count=2 size=2968 src_addr=27d6b0 src_addr_aligned=270000
D (379) bootloader_flash: mmu set block paddr=0x00280000 (was 0xffffffff)
I (383) esp_image: segment 2: paddr=00280020 vaddr=42000020 size=ba9d4h (764372) map
D (392) esp_image: free data page_count 0x0000003f
D (397) bootloader_flash: mmu set paddr=00280000 count=12 size=ba9d4 src_addr=280020 src_addr_aligned=280000
D (544) bootloader_flash: mmu set block paddr=0x00330000 (was 0xffffffff)
I (544) esp_image: segment 3: paddr=0033a9fc vaddr=3fc9c1d8 size=01bf4h ( 7156) load
D (548) esp_image: free data page_count 0x0000003f
D (553) bootloader_flash: mmu set paddr=00330000 count=1 size=1bf4 src_addr=33a9fc src_addr_aligned=330000
D (564) bootloader_flash: mmu set block paddr=0x00330000 (was 0xffffffff)
I (569) esp_image: segment 4: paddr=0033c5f8 vaddr=40374000 size=15868h ( 88168) load
D (578) esp_image: free data page_count 0x0000003f
D (583) bootloader_flash: mmu set paddr=00330000 count=3 size=15868 src_addr=33c5f8 src_addr_aligned=330000
D (612) bootloader_flash: mmu set block paddr=0x00350000 (was 0xffffffff)
I (612) esp_image: segment 5: paddr=00351e68 vaddr=50000000 size=01184h ( 4484) load
D (616) esp_image: free data page_count 0x0000003f
D (621) bootloader_flash: mmu set paddr=00350000 count=1 size=1184 src_addr=351e68 src_addr_aligned=350000
D (632) bootloader_flash: mmu set block paddr=0x00350000 (was 0xffffffff)
I (637) esp_image: segment 6: paddr=00352ff4 vaddr=600fe000 size=00028h ( 40) load
D (646) esp_image: free data page_count 0x0000003f
D (651) bootloader_flash: mmu set paddr=00350000 count=1 size=28 src_addr=352ff4 src_addr_aligned=350000
D (660) bootloader_flash: mmu set block paddr=0x00350000 (was 0xffffffff)
D (667) boot: Calculated hash: d59e5b86607155907fb61273eef29c170285c47e259c0debce784f226e58a85a
I (685) boot: Loaded app from partition at offset 0x250000
I (685) boot: Disabling RNG early entropy source...
D (688) boot: Mapping segment 0 as DROM
D (692) boot: Mapping segment 2 as IROM
D (695) boot: calling set_cache_and_start_app
D (700) boot: configure drom and irom and start
D (705) boot: start: 0x403755e0
I (719) cpu_start: Pro cpu up.
I (719) cpu_start: Starting app cpu, entry point is 0x40375538
I (698) cpu_start: App cpu up.
I (783) cpu_start: Pro cpu start user code
I (783) cpu_start: cpu freq: 160000000
I (783) cpu_start: Application information:
I (786) cpu_start: Project name: s3_arch_integration
I (792) cpu_start: App version: 8494c19e-dirty
I (797) cpu_start: Compile time: May 27 2022 12:36:55
I (804) cpu_start: ELF file SHA256: 3c546797eae27d6f...
I (809) cpu_start: ESP-IDF: v4.4.1-dirty
I (815) heap_init: Initializing. RAM available for dynamic allocation:
I (822) heap_init: At 3FCAAD48 len 000352B8 (212 KiB): D/IRAM
I (829) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
I (835) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (841) heap_init: At 600FE028 len 00001FD8 (7 KiB): RTCRAM
I (848) spi_flash: detected chip: gd
I (852) spi_flash: flash io: dio
I (857) sleep: Configure to isolate all GPIO pins in sleep state
I (863) sleep: Enable automatic switching of GPIO sleep configuration
I (870) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
abort() was called at PC 0x4202c4ef on core 0
Backtrace:0x40375d9a:0x3fcba1200x4037fb71:0x3fcba140 0x4038758a:0x3fcba160 0x4202c4ef:0x3fcba1d0 0x4202dded:0x3fcba1f0 0x4037a21f:0x3fcba210 0x40379e7c:0x3fcba230 0x4202dbb6:0x3fcba280 0x4202fae7:0x3fcba2a0 0x42030266:0x3fcba2c0 0x4203061f:0x3fcba2e0 0x4202f4f1:0x3fcba350 0x4202f8d2:0x3fcba3c0 0x420b6557:0x3fcba3e0 0x4202e727:0x3fcba410 0x4202e74d:0x3fcba440 0x42021957:0x3fcba460 0x4201fd90:0x3fcba490 0x4201fe35:0x3fcba4c0 0x42010a47:0x3fcba4e0 0x42010def:0x3fcba510 0x420ba6cd:0x3fcba530 0x40383295:0x3fcba550
ELF file SHA256: 3c546797eae27d6f
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x29 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375a7c
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x1f68
load:0x403b6000,len:0xcbc
load:0x403ba000,len:0x2f84
entry 0x403b6280
I (29) boot: ESP-IDF v4.4.1-dirty 2nd stage bootloader
I (29) boot: compile time 22:54:28
D (29) bootloader_flash: non-XMC chip detected by SFDP Read (C8), skip.
D (34) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff)
I (41) boot: chip revision: 0
D (45) boot.esp32s3: magic e9
D (48) boot.esp32s3: segments 03
D (51) boot.esp32s3: spi_mode 02
D (55) boot.esp32s3: spi_speed 0f
D (58) boot.esp32s3: spi_size 03
I (61) boot.esp32s3: Boot SPI Speed : 80MHz
I (66) boot.esp32s3: SPI Mode : DIO
I (71) boot.esp32s3: SPI Flash Size : 8MB
I (75) boot: Enabling RNG early entropy source...
D (81) bootloader_flash: mmu set paddr=00010000 count=1 size=c00 src_addr=10000 src_addr_aligned=10000
D (90) boot: mapped partition table 0x10000 at 0x3c000000
D (96) flash_parts: partition table verified, 7 entries
I (101) boot: Partition Table:
I (105) boot: ## Label Usage Type ST Offset Length
D (112) boot: load partition table entry 0x3c000000
D (117) boot: type=1 subtype=2
I (120) boot: 0 nvs WiFi data 01 02 00011000 00008000
D (128) boot: load partition table entry 0x3c000020
D (133) boot: type=1 subtype=0
I (136) boot: 1 otadata OTA data 01 00 00019000 00002000
D (143) boot: load partition table entry 0x3c000040
D (148) boot: type=1 subtype=1
I (151) boot: 2 phy_init RF data 01 01 00021000 00003000
D (159) boot: load partition table entry 0x3c000060
D (164) boot: type=0 subtype=10
I (167) boot: 3 ota_0 OTA app 00 10 00110000 00140000
D (175) boot: load partition table entry 0x3c000080
D (180) boot: type=0 subtype=11
I (183) boot: 4 ota_1 OTA app 00 11 00250000 00140000
D (190) boot: load partition table entry 0x3c0000a0
D (195) boot: type=1 subtype=81
I (199) boot: 5 fatfs_storage Unknown data 01 81 00390000 00400000
I (206) boot: End of partition table
D (210) boot: OTA data offset 0x19000
D (214) bootloader_flash: mmu set paddr=00010000 count=1 size=2000 src_addr=19000 src_addr_aligned=10000
D (224) boot: otadata[0]: sequence values 0x00000001
D (229) boot: otadata[1]: sequence values 0x00000002
D (234) boot: otadata[1] is marking as ABORTED
D (273) boot_comm: Only otadata[0] is valid
D (273) boot: Active otadata[0]
D (273) boot: Mapping seq 0 -> OTA slot 0
D (273) boot: Trying partition index 0 offs 0x110000 size 0x140000
D (280) esp_image: reading image header @ 0x110000
D (284) bootloader_flash: mmu set block paddr=0x00110000 (was 0xffffffff)
D (291) esp_image: image header: 0xe9 0x07 0x02 0x03 40375604
I (297) esp_image: segment 0: paddr=00110020 vaddr=3c0c0020 size=3542ch (218156) map
D (306) esp_image: free data page_count 0x0000003f
D (310) bootloader_flash: mmu set paddr=00110000 count=4 size=3542c src_addr=110020 src_addr_aligned=110000
D (359) bootloader_flash: mmu set block paddr=0x00140000 (was 0xffffffff)
I (360) esp_image: segment 1: paddr=00145454 vaddr=3fc999d0 size=045bch ( 17852) load
D (364) esp_image: free data page_count 0x0000003f
D (368) bootloader_flash: mmu set paddr=00140000 count=1 size=45bc src_addr=145454 src_addr_aligned=140000
D (382) bootloader_flash: mmu set block paddr=0x00140000 (was 0xffffffff)
I (385) esp_image: segment 2: paddr=00149a18 vaddr=40374000 size=06600h ( 26112) load
D (394) esp_image: free data page_count 0x0000003f
D (398) bootloader_flash: mmu set paddr=00140000 count=2 size=6600 src_addr=149a18 src_addr_aligned=140000
D (414) bootloader_flash: mmu set block paddr=0x00150000 (was 0xffffffff)
I (415) esp_image: segment 3: paddr=00150020 vaddr=42000020 size=bfa9ch (785052) map
D (423) esp_image: free data page_count 0x0000003f
D (428) bootloader_flash: mmu set paddr=00150000 count=12 size=bfa9c src_addr=150020 src_addr_aligned=150000
D (579) bootloader_flash: mmu set block paddr=0x00200000 (was 0xffffffff)
I (579) esp_image: segment 4: paddr=0020fac4 vaddr=4037a600 size=0f3d0h ( 62416) load
D (583) esp_image: free data page_count 0x0000003f
D (588) bootloader_flash: mmu set paddr=00200000 count=2 size=f3d0 src_addr=20fac4 src_addr_aligned=200000
D (611) bootloader_flash: mmu set block paddr=0x00210000 (was 0xffffffff)
I (612) esp_image: segment 5: paddr=0021ee9c vaddr=50000000 size=01184h ( 4484) load
D (615) esp_image: free data page_count 0x0000003f
D (620) bootloader_flash: mmu set paddr=00210000 count=2 size=1184 src_addr=21ee9c src_addr_aligned=210000
D (631) bootloader_flash: mmu set block paddr=0x00220000 (was 0xffffffff)
I (637) esp_image: segment 6: paddr=00220028 vaddr=600fe000 size=00028h ( 40) load
D (645) esp_image: free data page_count 0x0000003f
D (650) bootloader_flash: mmu set paddr=00220000 count=1 size=28 src_addr=220028 src_addr_aligned=220000
D (660) bootloader_flash: mmu set block paddr=0x00220000 (was 0xffffffff)
D (667) boot: Calculated hash: e0123aec271c4f1a03bb6477b1907b348f6b474615001db4ce166a690158949e
I (685) boot: Loaded app from partition at offset 0x110000
I (685) boot: Disabling RNG early entropy source...
D (687) boot: Mapping segment 0 as DROM
D (691) boot: Mapping segment 3 as IROM
D (695) boot: calling set_cache_and_start_app
D (699) boot: configure drom and irom and start
D (704) boot: start: 0x40375604
I (719) cpu_start: Pro cpu up.
I (719) cpu_start: Starting app cpu, entry point is 0x4037555c
I (697) cpu_sDa(71:) pp : uaiupng
2k oscillator to start up
D (787) clk: RTC_SLOW_CLK calibration value: 15999590
I (793) cpu_start: Pro cpu start user code
I (793) cpu_start: cpu freq: 160000000
I (793) cpu_start: Application information:
I (795) cpu_start: Project name: s3_arch_integration
I (801) cpu_start: App version: 6b80e240-dirty
I (807) cpu_start: Compile time: May 28 2022 22:54:11
I (813) cpu_start: ELF file SHA256: 255f0e816d961b09...
I (819) cpu_start: ESP-IDF: v4.4.1-dirty
D (824) memory_layout: Checking 5 reserved memory ranges:
D (830) memory_layout: Reserved memory range 0x3fc84000 - 0x3fc999d0
D (836) memory_layout: Reserved memory range 0x3fc999d0 - 0x3fcab0c0
D (843) memory_layout: Reserved memory range 0x3fceee34 - 0x3fcf0000
D (849) memory_layout: Reserved memory range 0x40374000 - 0x403899d0
D (856) memory_layout: Reserved memory range 0x600fe000 - 0x600fe028
D (862) memory_layout: Building list of available memory regions:
D (868) memory_layout: Available memory region 0x3fcab0c0 - 0x3fcb0000
D (875) memory_layout: Available memory region 0x3fcb0000 - 0x3fcc0000
D (881) memory_layout: Available memory region 0x3fcc0000 - 0x3fcd0000
D (888) memory_layout: Available memory region 0x3fcd0000 - 0x3fce0000
D (895) memory_layout: Available memory region 0x3fce0000 - 0x3fceee34
D (901) memory_layout: Available memory region 0x3fcf0000 - 0x3fcf8000
D (908) memory_layout: Available memory region 0x600fe028 - 0x60100000
I (914) heap_init: Initializing. RAM available for dynamic allocation:
D (922) heap_init: New heap initialised at 0x3fcab0c0
I (927) heap_init: At 3FCAB0C0 len 00034F40 (211 KiB): D/IRAM
I (933) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
D (940) heap_init: New heap initialised at 0x3fcf0000
I (945) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
D (951) heap_init: New heap initialised at 0x600fe028
I (956) heap_init: At 600FE028 len 00001FD8 (7 KiB): RTCRAM
D (963) FLASH_HAL: extra_dummy: 0
D (966) spi_flash: trying chip: issi
D (970) spi_flash: trying chip: gd
I (973) spi_flash: detected chip: gd
I (977) spi_flash: flash io: dio
D (981) cpu_start: calling init function: 0x420a3d68
D (986) cpu_start: calling init function: 0x4207068c
D (991) cpu_start: calling init function: 0x4203ac10
D (996) cpu_start: calling init function: 0x42023ed0
D (1002) cpu_start: calling init function: 0x4200a4e0
D (1007) intr_alloc: Connected src 59 to int 2 (cpu 0)
I (1012) sleep: Configure to isolate all GPIO pins in sleep state
I (1019) sleep: Enable automatic switching of GPIO sleep configuration
D (1026) intr_alloc: Connected src 79 to int 3 (cpu 0)
I (1031) cpu_start: Starting scheduler on PRO CPU.
D (1037) intr_alloc: Connected src 57 to int 9 (cpu 0)
D (1037) intr_alloc: Connected src 80 to int 2 (cpu 1)
I (1047) cpu_start: Starting scheduler on APP CPU.
D (1047) intr_alloc: Connected src 58 to int 3 (cpu 1)
D (1057) heap_init: New heap initialised at 0x3fce0000
D (1057) intr_alloc: Connected src 52 to int 12 (cpu 0)
D (1067) partition: Loading the partition table
D (1067) partition: Partition table MD5 verified
D (1097) nvs: nvs_open_from_partition kv 1
D (1097) nvs: nvs_set es 4 1653758881
D (1097) esp_ota_ops: phys_offs 1563188
D (1097) esp_ota_ops: starting address of partition 1114112
D (1117) nvs: nvs_close 1
D (1117) nvs: nvs_open_from_partition kv 1
D (1117) nvs: nvs_get_str_or_blob kcfg
D (1117) nvs: nvs_get_str_or_blob kcfg
//**************************************************************************************************************************************************//
We can see that fota is successful, and both OTA slots are valid when system restarts after fota is done and with partition offset 0x250000.
But got this log:
{
D (224) boot: otadata[0]: sequence values 0x00000001
D (229) boot: otadata[1]: sequence values 0x00000002
D (234) boot: otadata[1] is marking as ABORTED
D (273) boot_comm: Only otadata[0] is valid
}
and error of "abort() was called at PC 0x4202c4ef on core 0" with Backtrace.
And system is again rebooted from OTA 0, with partition offset 0x110000
I think, it is a memory issue, but couldn't get any solution regarding the same.
Has anyone got this issue?
Can anyone guide me on this?
FOTA issue when used along with FATfs
Who is online
Users browsing this forum: No registered users and 83 guests