Hi,
I've heard of different mechanisms used to put an image into various locations on a demo boards memory (in my cse its a Cortex M-4 board but this may my question may be processor independent). It seems that one way is to use the scatter file. It seems to me that the linker uses this file to do the write of the image onto the memory. I was curious if it uses any particular mechanism to do this, like a memcpy or similar. I dont see this level of detail in the linker guide but was curious if anyone knows. I assume that in any linker (I am using KEIL MDK-ARM dev environment) there must be some sort of code that runs that consumes the scatter file. I also wonder what step on the way to running a user program from RAM does the actual loading. In the case of running from flash the MDK-ARM (uVision)environment has a 'Flash -> Dowload' menu item which places the program into internal flash.
One of the problems learning the details about thing like this is they are hidden from you in the development environment. I can see the scatter file and I understand it, but by which mechanism is the code actually writte to RAM?
Thanks, Dean