SOC_RESERVE_MEMORY_REGION region range 0xfffffffc - 0x00000000 overlaps with 0xffffffff - 0xffffffff

spyder0069
Posts: 35
Joined: Tue Jan 29, 2019 2:46 am

SOC_RESERVE_MEMORY_REGION region range 0xfffffffc - 0x00000000 overlaps with 0xffffffff - 0xffffffff

Postby spyder0069 » Sat Feb 16, 2019 7:21 pm

Everything was going great and now I have this when I add additional code. This is a large program and I am running on a wemos lolin32. In arduino I have the board set to large apps with OTA. During upload I get:

Sketch uses 1088562 bytes (55%) of program storage space. Maximum is 1966080 bytes.
Global variables use 46096 bytes (14%) of dynamic memory, leaving 281584 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6-beta1
Chip is ESP32D0WDQ6 (revision 1)

When it reboots I get:

Code: Select all

E (342) memory_layout: SOC_RESERVE_MEMORY_REGION region range 0xfffffffc - 0x00000000 overlaps with 0xffffffff - 0xffffffff
abort() was called at PC 0x4017da80 on core 0

Backtrace: 0x4008d5d8:0x3ffe3460 0x4008d809:0x3ffe3480 0x4017da80:0x3ffe34a0 0x4017daed:0x3ffe34d0 0x4010b7e9:0x3ffe3840 0x40083a9d:0x3ffe3c20 0x40078f93:0x3ffe3c40 0x40078ff9:0x3ffe3c70 0x40079004:0x3ffe3ca0 0x400791a3:0x3ffe3cc0 0x400806ca:0x3ffe3df0 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20

If I pull a couple of misc lines of code it runs. Seems like a bootloader issue. I found this and maybe its related to:

https://github.com/espressif/esp-idf/issues/2561

I am unsure where to go from here. Any help would be appreciated!

spyder0069
Posts: 35
Joined: Tue Jan 29, 2019 2:46 am

Re: SOC_RESERVE_MEMORY_REGION region range 0xfffffffc - 0x00000000 overlaps with 0xffffffff - 0xffffffff

Postby spyder0069 » Sat Feb 16, 2019 8:09 pm

Update:

The board for the Wemos Lolin in the manager doesn't have debug options so I changed it to the Dev kit option. Then if I set the debug option to anything other than none it works. So it looks like the same issue that was reported. They mentioned:

"it seems fixed after I deleted esp-idf"

I don't have a full grasp on this. I have "https://dl.espressif.com/dl/package_esp32_index.json" setup in my arduino. Is that automatically updating everything for the esp32? I don't have the esp-idf seperately is it loaded with arduino? They show a fix has been made which appears to update some bootloader files:

https://github.com/espressif/esp-idf/co ... 08f46af4cd

How do apply that change?

idahowalker
Posts: 166
Joined: Wed Aug 01, 2018 12:06 pm

Re: SOC_RESERVE_MEMORY_REGION region range 0xfffffffc - 0x00000000 overlaps with 0xffffffff - 0xffffffff

Postby idahowalker » Sat Feb 16, 2019 9:24 pm

To update the Arduino ESP32 core:
Tools | Board | Board Manager | Type | Updatable.

spyder0069
Posts: 35
Joined: Tue Jan 29, 2019 2:46 am

Re: SOC_RESERVE_MEMORY_REGION region range 0xfffffffc - 0x00000000 overlaps with 0xffffffff - 0xffffffff

Postby spyder0069 » Sat Feb 16, 2019 9:37 pm

Under updatable I don't show anything but if I switch the type to ALL it does show my 1.0.1 as installed. Under the select version it only shows 1.0.0. On the gethub info page it only shows 1.0.1 for stable / developement.

What does this update:
https://dl.espressif.com/dl/package_esp32_index.json

What is difference between what that pulls down and what is on gethub?

https://github.com/espressif/arduino-esp32

I appreciate your patience. I have almost two decades with pic microcontrollers but this is new territory for me.

Who is online

Users browsing this forum: MicroController and 57 guests