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

How to define "Type 1 image structure" in a ARMCC scatter file?

Hi,

I am currently trying to execute a bare-metal environment on Cortex M0+ MCU sram (load via debugger, and set program counter to execute from it)

By studying the "ARM Linker user guide", it seems the mentioned "Type 1 image structure, one load region and contiguous execution regions" is suitable for my needs.
www.keil.com/.../armlink_pge1362065904825.htm

But in the linker user guide, it only describes how to create the image using command line

$ armlink --ro_base 0x8000

My question is:

How can I create this kind of image manually using a scatter file?
(I only see scatter file examples in the documents in the Scatter-Loading features section)

Thanks!