ST AN1777 Application Note

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.


ST AN1777 Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
7
File format
PDF
File size
76 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
STR71x
MD5 checksum
4EFC6825712CA315BEB071BE99D75FB5

About this manual

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.

What's inside

  • Introduction
  • Using Scatter Files for Image Organization
  • Booting from RAM
  • Booting from External Memory
  • Booting from Embedded Flash
  • Code Initialization
  • Software Remapping

Specifications

Document Part NumberAN1777/0304

Frequently asked questions

What toolset is the scatter-loading mechanism focused on?

The document focuses on the use of the scatter-loading file for the RealView toolset.

Where must the entry point lie for the processor to start correctly?

The entry point must lie within an execution region that must be a root region.

How is memory remapping performed?

Memory remapping is done by changing the Boot[1:0] bits in the boot configuration register (BOOT-CONF).

Download PDF (76 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →