OTA erro:E (26646) esp_ota_ops: not found ota data

aih5165
Posts: 15
Joined: Thu Aug 25, 2016 1:32 pm

OTA erro:E (26646) esp_ota_ops: not found ota data

Postby aih5165 » Tue Sep 12, 2017 12:08 pm

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

rinripper
Posts: 9
Joined: Wed Jun 28, 2017 3:52 am

Re: OTA erro:E (26646) esp_ota_ops: not found ota data

Postby rinripper » Tue Feb 06, 2018 9:44 pm

Hi, you could do something about this error, I'm having the same.

Thanks in advance (sorry for my bad english)
Mauricio

burgersonbrioche
Posts: 4
Joined: Thu Mar 21, 2019 7:58 pm

Re: OTA erro:E (26646) esp_ota_ops: not found ota data

Postby burgersonbrioche » Wed May 08, 2019 11:50 pm

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

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
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.
"If you're gunna do it more than once, Automate it!"
--Burgers On Brioche

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 189 guests