HTTPS OTA error: Passive OTA partition not found

RMandR
Posts: 28
Joined: Mon Oct 29, 2018 3:13 pm

HTTPS OTA error: Passive OTA partition not found

Postby RMandR » Sat Jul 20, 2019 3:40 pm

I have built and flashed my application using "make flash monitor" (windows 7, ESP_IDF 3.2).

The partition table is as below and I'm getting a "Passive OTA partition not found" after the call to

Code: Select all

 esp_https_ota(&config)
.

What am I doing wrong?

Thanks in adance!

partition.csv

Code: Select all

# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x4000,
otadata,  data, ota,     0xd000,  0x2000,
phy_init, data, phy,     0xf000,  0x1000,
factory,  0,    0,       0x10000, 1M,
ota_0,    0,    ota_0,  0x110000, 1M,
ota_1,    0,    ota_1,  0x210000, 1M,
output:

Code: Select all

I (4706) esp_https_ota: Starting OTA...
E (4706) esp_https_ota: Passive OTA partition not found
E (4706) HTTP_CLIENT: Firmware Upgrades Failed

RMandR
Posts: 28
Joined: Mon Oct 29, 2018 3:13 pm

Re: HTTPS OTA error: Passive OTA partition not found

Postby RMandR » Mon Jul 22, 2019 1:27 pm

What am I doing wrong?
In case anyone else trips onto this: partition.csv is not read by default.

Code: Select all

" choose “Custom partition table CSV” in menuconfig"

Ritesh
Posts: 1075
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: HTTPS OTA error: Passive OTA partition not found

Postby Ritesh » Mon Jul 22, 2019 7:01 pm

RMandR wrote:
Sat Jul 20, 2019 3:40 pm
I have built and flashed my application using "make flash monitor" (windows 7, ESP_IDF 3.2).

The partition table is as below and I'm getting a "Passive OTA partition not found" after the call to

Code: Select all

 esp_https_ota(&config)
.

What am I doing wrong?

Thanks in adance!

partition.csv

Code: Select all

# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x4000,
otadata,  data, ota,     0xd000,  0x2000,
phy_init, data, phy,     0xf000,  0x1000,
factory,  0,    0,       0x10000, 1M,
ota_0,    0,    ota_0,  0x110000, 1M,
ota_1,    0,    ota_1,  0x210000, 1M,
output:

Code: Select all

I (4706) esp_https_ota: Starting OTA...
E (4706) esp_https_ota: Passive OTA partition not found
E (4706) HTTP_CLIENT: Firmware Upgrades Failed
Hello,

Which Partition table you have selected for OTA example? Because as per error it seems like you are facing issue due to wrong partition table selection that is why OTA is going to fail due to that reason.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 19 guests