This application note describes how to define the memory map of your STR71x application. The first part of this document shows how to use scatter loading files to place and organize data and code in memory. The second part focuses on software memory remapping.
This document explains how to define the memory map for STR71x applications, focusing on the use of scatter-loading files for the RealView toolset to organize data and code in memory. It details how to place and organize regions for different boot mechanisms, including booting from RAM, external memory, and embedded flash.
The second part of the note covers software memory remapping. It explains how to change the memory map after reset to improve exception handling and vector table management. The document provides assembly code examples for initializing the RW and ZI regions and for remapping memory by modifying the BOOTCONF register.
| Document Part Number | AN1777/0304 |
|---|
The document focuses on the use of the scatter-loading file for the RealView toolset.
The entry point must lie within an execution region that must be a root region.
Memory remapping is done by changing the Boot[1:0] bits in the boot configuration register (BOOT-CONF).