Overview
This workshop demonstrates how to configure the STM32H7R/S MCU to work with external OSPI FLASH memory, specifically focusing on OSPI memory connection using the MEM_MANAGER library. Learn to create an application with boot program, external memory loader, and application components using STM32CubeMX/STM32CubeIDE tools and the nucleo-h7s3l8 board. Discover different techniques for external OSPI memory management and how to implement encryption/decryption using the dedicated Memory Cipher Engine (MCE) peripheral. The 47-minute tutorial covers multi-project setup, MPU configuration, external memory connection basics, XSPI1 configuration, external memory manager implementation, loader creation, project generation, coding both application and bootloader parts, building and running the complete project, and debugging the external loader. Required hardware includes a NUCLEO-H7S3L8 board and USB Type C cable, while software prerequisites include STM32CubeMX (v6.14+), STM32H7RS Cube library (v1.2.0+), STM32CubeIDE (v1.18+), and STM32CubeProgrammer (v2.19+). All materials for this session are available on GitHub, with additional resources and support available through the ST community forum.
Syllabus
0:00 Introduction
3:10 Multi project start STM32CubeMX part
5:40 MPU configuration Boot and Application
8:09 External memory connection basic configuration
14:49 XSPI1 configuration
24:28 EXTernal MEMory MANAGER
28:32 External loader
32:20 Projects generation
34:04 Coding Application part
36:24 Coding Bootloader part
37:45 Build and run the complete project
42:13 Debug External loader
45:52 Conclusion
Taught by
STMicroelectronics