Table 5. Memory Mapping Versus Boot Mode/Physical Remap - ST STM32L4 5 Series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0351
Physical remap
Once the boot pins are selected, the application software can modify the memory
accessible in the code area (in this way the code can be executed through the ICode bus in
place of the System bus). This modification is performed by programming the
memory remap register (SYSCFG_MEMRMP)
The following memories can thus be remapped:
• Main Flash memory
• System memory
• Embedded SRAM1 (96 KB)
• FSMC bank 1 (NOR/PSRAM 1 and 2)
• Quad-SPI memory

Table 5. Memory mapping versus boot mode/physical remap

Addresses
0x2000 0000 - 0x2001 7FFF
0x1FFF 0000 - 0x1FFF FFFF
0x1000 8000 - 0x1FFE FFFF
0x1000 0000 - 0x1000 7FFF
0x0810 0000 - 0x0FFF FFFF
0x0800 0000 - 0x080F FFFF
0x0400 0000 - 0x07FF FFFF
0x0010 0000 - 0x03FF FFFF
0x0000 0000 - 0x000F FFFF
(1) (2)
1. When the FSMC is remapped at address 0x0000 0000, only the first two regions of bank 1 memory controller (bank 1
NOR/PSRAM 1 and NOR/PSRAM 2) can be remapped. When the QUADSPI is remapped at address 0x0000 0000, only
128 MB are remapped. In remap mode, the CPU can access the external memory via ICode bus instead of system bus,
which boosts up the performance.
2. Even when aliased in the boot memory space, the related memory is still accessible at its original memory space.
Boot/remap in
Boot/remap in
main Flash
embedded
memory
SRAM 1
SRAM1
SRAM1
System
System
memory/OTP/
memory/OTP/
Options bytes
Options bytes
Reserved
Reserved
SRAM2
SRAM2
Reserved
Reserved
Flash memory
Flash memory
Reserved
Reserved
Reserved
Reserved
SRAM1
Flash (1 MB)
(96 KB)
Aliased
Aliased
DocID024597 Rev 5
in the SYSCFG controller.
Boot/remap in
Remap in
system
FSMC
memory
SRAM1
SRAM1
System
System
memory/OTP/
memory/OTP/
Options bytes
Options bytes
Reserved
Reserved
SRAM2
SRAM2
Reserved
Reserved
Flash memory
Flash memory
FSMC bank 1
NOR/
Reserved
PSRAM 2
(128 MB)
Aliased
FSMC bank 1
NOR/
Reserved
PSRAM 1
(128 MB)
Aliased
FSMC bank 1
System
NOR/
memory
PSRAM 1
(28 KB)
(128 MB)
Aliased
Aliased)
SYSCFG
Remap in
QUADSPI
SRAM1
System
memory/OTP/
Options bytes
Reserved
SRAM2
Reserved
Flash memory
QUADSPI
bank (128 MB)
Aliased
QUADSPI
bank (128 MB)
Aliased
QUADSPI
bank (128 MB)
Aliased
89/1830
92

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4 5 Series and is the answer not in the manual?

Table of Contents

Save PDF