How can I do with this?
I (26646) ota: Starting OTA example...
E (26646) esp_ota_ops: not found ota data
assertion "configured == running" failed: file "G:/esp32/msys32/home/chengh/esp/gsc/user/ota.c", line 199, function: ota_ex
mple_task
abort() was called at PC 0x400d1d13 on core 0
0x400d1d13: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/
./../../.././newlib/libc/stdlib/assert.c:63 (discriminator 8)
Backtrace: 0x40087358:0x3ffcfe30 0x40087457:0x3ffcfe50 0x400d1d13:0x3ffcfe70 0x400e0954:0x3ffcfea0
0x40087358: invoke_abort at G:/esp32/msys32/home/chengh/esp/esp-idf/components/esp32/panic.c:547
0x40087457: abort at G:/esp32/msys32/home/chengh/esp/esp-idf/components/esp32/panic.c:547
0x400d1d13: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/
./../../.././newlib/libc/stdlib/assert.c:63 (discriminator 8)
0x400e0954: ota_example_task at G:/esp32/msys32/home/chengh/esp/gsc/user/ota.c:199 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
OTA erro:E (26646) esp_ota_ops: not found ota data
Re: OTA erro:E (26646) esp_ota_ops: not found ota data
Hi, you could do something about this error, I'm having the same.
Thanks in advance (sorry for my bad english)
Mauricio
Thanks in advance (sorry for my bad english)
Mauricio
-
- Posts: 4
- Joined: Thu Mar 21, 2019 7:58 pm
Re: OTA erro:E (26646) esp_ota_ops: not found ota data
In order to flash an ota partition you need to setup the partition table correctly.
You will need minimum 2 partitions for the firmware binary which should be big enough to fit the entire binary as well as a data partition which stores information about the ota firmware partions.
here is an example csv partion table
would have to see your partition table if you have already made one. But the "esp_ota_ops: not found ota data" error sees to indicate a the the otadata partition is missing.
You will need minimum 2 partitions for the firmware binary which should be big enough to fit the entire binary as well as a data partition which stores information about the ota firmware partions.
here is an example csv partion table
Code: Select all
# Name, Type, SubType, Offset, Size, Flags
reserved, data, 0xfe, 0x9000, 16k
otadata, data, ota, 0xd000, 8k #ota data (partition info)
phy_init, data, phy, 0xf000, 4k
ota_0, app, ota_0, 0x10000, 1920k # ota firmware partion 0
ota_1, app, ota_1, , 1920k # ota firmware partion 1
coredump, data, coredump, , 64K
nvs, data, nvs, , 128K
"If you're gunna do it more than once, Automate it!"
--Burgers On Brioche
--Burgers On Brioche
Who is online
Users browsing this forum: Bing [Bot] and 83 guests