We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Yes, moving code and data from load region to execution region, for example ROM to RAM, is a typical use for scatter loading. You can find more information about scatter loading in the ARM Linker documentation. Here is a link for the scatter file documentation for the 5.01 version of the linker:http://infocenter.ar...g/BABDDHBF.html
Yes; the linker embeds the scatter loading code into the binary which will perform the necessary copy. It can also do clever things like decompressing data sections (so ROM storage is small, but the RAM image is correct) and unpacking sections (so they are stored in a compact form, but stored out at the right page offsets as needed in the scatter file).
Try this section in the Using ARM C and C++ Libraries and Floating-Point Support book:Initialization of the execution environment and execution of the applicationhttp://infocenter.ar...g/Chddbihb.htmlThere are links on this page to further information.