ROM bootloader memory usage

Posts: 88
Joined: Fri Aug 04, 2017 8:57 pm

ROM bootloader memory usage

Postby michprev » Fri Apr 20, 2018 12:06 pm

which memory regions exactly uses ROM bootloader? According to esp32 technical docs I would like to do something like this:

Code: Select all

    IRAM (RX) : ORIGIN = 0x40080000, LENGTH = 0x40000
    DRAM (RW) : ORIGIN = 0x3ffAE000, LENGTH = 0x52000
But this way my image does not get loaded.

Posts: 2103
Joined: Tue Dec 01, 2015 7:35 am

Re: ROM bootloader memory usage

Postby WiFive » Fri Apr 20, 2018 9:05 pm

Posts: 1349
Joined: Sun May 08, 2016 4:11 am

Re: ROM bootloader memory usage

Postby ESP_Angus » Mon Apr 23, 2018 3:33 am

Hi michprev,

Are you using the load_ram command? In addition to the ROM ranges WiFive linked, if you're using the software loader stub then you need to avoid its memory regions: ... _32.ld#L18

(Note: these regions are currently bigger than they need to be, I plan to reduce these sizes in an update.)

You can pass --no-stub to not have to worry about avoiding these areas of memory, also.


Return to “General Discussion”

Who is online

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