LoadProhibited error using custom partition table on ESP32D0WDQ5 (revision 3) chip

ravi23ganiga
Posts: 1
Joined: Tue Oct 06, 2020 3:33 pm

LoadProhibited error using custom partition table on ESP32D0WDQ5 (revision 3) chip

Postby ravi23ganiga » Fri Feb 05, 2021 7:09 am

Hi,

I am using WiFi mesh application router from ESP MDF. I am using ESP32D0WDQ5 (revision 3) chip. From menuconfig, under "Partition Table", we have selected "Custom partition table CSV". The details of partition.csv is as shown below

# Name, Type, SubType, Offset, Size, Flags
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs, data, nvs, 0x9000, 16k
otadata, data, ota, 0xd000, 8k
phy_init, data, phy, 0xf000, 4k
ota_0, app, ota_0, 0x10000, 0x180000
ota_1, app, ota_1, , 0x180000


When i run the application built using above partition table, it gives following error

I (30) boot: ESP-IDF v4.3-dev-771-gc77c4ccf6-dirty 2nd stage bootloader
I (30) boot: compile time 11:48:04
I (31) boot: chip revision: 3
I (34) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (47) boot.esp32: SPI Speed : 40MHz
I (47) boot.esp32: SPI Mode : DIO
I (51) boot.esp32: SPI Flash Size : 4MB
I (55) boot: Enabling RNG early entropy source...
I (61) boot: Partition Table:
I (64) boot: ## Label Usage Type ST Offset Length
I (72) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (79) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (86) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (94) boot: 3 ota_0 OTA app 00 10 00010000 001e0000
I (101) boot: 4 ota_1 OTA app 00 11 001f0000 001e0000
I (109) boot: 5 coredump Unknown data 01 03 003d0000 00010000
I (116) boot: 6 reserved Unknown data 01 fe 003e0000 00020000
I (124) boot: End of partition table
I (128) boot: No factory image, trying OTA 0
I (133) boot_comm: chip revision: 3, min. application chip revision: 0
I (140) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x3bf50 (245584) map
I (243) esp_image: segment 1: paddr=0x0004bf78 vaddr=0x3ffbdb60 size=0x040a0 ( 16544) load
I (250) esp_image: segment 2: paddr=0x00050020 vaddr=0x400d0020 size=0x105e80 (1072768) map
0x400d0020: _stext at ??:?

I (659) esp_image: segment 3: paddr=0x00155ea8 vaddr=0x3ffc1c00 size=0x00f84 ( 3972) load
I (661) esp_image: segment 4: paddr=0x00156e34 vaddr=0x40080000 size=0x00404 ( 1028) load
0x40080000: _WindowOverflow4 at /mnt/shared/esp-mdf_testing/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730

I (666) esp_image: segment 5: paddr=0x00157240 vaddr=0x40080404 size=0x1c464 (115812) load
I (741) boot: Loaded app from partition at offset 0x10000
Fatal exception (28): LoadProhibited
epc1=0x40080703, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0000002c, depc=0x00000000
ets Jul 29 2019 12:21:46

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7068
load:0x40078000,len:12744
load:0x40080400,len:5088
0x40080400: _init at ??:?

entry 0x400806ac

I am able to run normal WiFi code using above parition table, but this one fails, Can anyone please help me on this?

Who is online

Users browsing this forum: No registered users and 29 guests