Introduction
This document gives a presentation of the core-coupled memory (CCM) SRAM available on STM32F3/STM32G4
microcontrollers and describes what is required to execute part of the application code from this memory region using different
toolchains.
The first section provides an overview of the CCM SRAM, while the next sections describe the steps required to execute part of
the application code from CCM SRAM using the following toolchains:
•
IAR Systems
®
IAR Embedded Workbench
®
•
Keil
®
MDK-ARM
• STMicroelectronics STM32CubeIDE and other GNU-based toolchains
The procedures described throughout the document are applicable to other SRAM regions such as the CCM data RAM of some
STM32F4 devices, or external SRAM.
Table 1 lists the STM32 microcontrollers used as examples for CCM SRAM.
Table 1. Applicable products
Reference Products
STM32F3/STM32G4
STM32F3
STM32F303 line, STM32F334 line
STM32F328C8, STM32F328K8, STM32F328R8
STM32F358CC, STM32F358RC, STM32F358VC
STM32F398RE, STM32F398VE, STM32F398ZE
STM32G4 STM32G4 Series
Use STM32F3/STM32G4 CCM SRAM with IAR Embedded Workbench
®
, Keil
®
MDK-ARM, STMicroelectronics STM32CubeIDE and other GNU-based toolchains
AN4296
Application note
AN4296 - Rev 5 - February 2021
For further information contact your local STMicroelectronics sales office.
www.st.com