ESP32-WROVER-B的高4M地址是否可以作为APP分区?

zhoupeng
Posts: 35
Joined: Sun Sep 24, 2017 1:31 pm

ESP32-WROVER-B的高4M地址是否可以作为APP分区?

Postby zhoupeng » Tue Apr 23, 2019 2:51 am

尝试使用WROVER-B的8M SPI FLASH 作为设备的分区,使用的IDF版本是V3.1-rc1,分区列表如下:

ota_0, app, ota_0, 0x10000, 0x380000,
ota_1, app, ota_1, 0x390000, 0x380000,

在调用esp_ota_begin时,程序重启且falsh数据被清空。


高4M空间的使用是否需要特殊配置?

ESP_@In逍遥子
Posts: 132
Joined: Thu Nov 15, 2018 2:06 am

Re: ESP32-WROVER-B的高4M地址是否可以作为APP分区?

Postby ESP_@In逍遥子 » Sun May 05, 2019 9:57 am

请参考标准的分区表

Code: Select all

# Name,   Type, SubType, Offset,   Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs,      data, nvs,     ,        0x4000,
otadata,  data, ota,     ,        0x2000,
phy_init, data, phy,     ,        0x1000,
factory,  app,  factory, ,        1M,
ota_0,    app,  ota_0,   ,        1M,
ota_1,    app,  ota_1,   ,        1M,

Who is online

Users browsing this forum: No registered users and 49 guests