This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex M3 Scatter file(EFM32LG series microcontroller)

LR_IROM1 0x00000000 0x00040000 { ; load region size_region ER_IROM1 0x00020000 0x00040000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY(+RO) } RW_IRAM1 0x20000000 0x00008000 { *.o(ramcode) .ANY(+RW +ZI) }
}

ramcode is a section defined in one of my C files.

I am able to get specific sections of code load into the flash and execute from RAM. How do I edit the scatter file to get my entire application loaded into flash and run from RAM except for the root regions whose execution region needs to be the same as load region. Is this possible at all?