Question about STM32 H7 Series Function
[Inquiry Regarding Large-Scale Library Operation on STM32H7-Based System]
-
MCU: STM32H7 Series (Planned)
-
OS: FreeRTOS
-
Memory Configuration:
-
External SDRAM
-
External Serial Flash (QSPI)
-
Our company is planning to utilize large-scale libraries. We would like to inquire about how to operate such libraries within the STM32 environment, as outlined below.
If there are any official ST documents or reference materials related to the following items, please kindly share them as well.
Q1. Use of Large Static Libraries (.a)
The size of the code and data in the library is expected to exceed several megabytes.
In such cases, what is the general approach for loading and executing large libraries on STM32?
Q2. Considerations for Using External SDRAM and Serial Flash
When using both external SDRAM and Serial Flash together,
what are the recommended methods and key considerations for stable library operation?
Q3. FreeRTOS + File System-Based Dynamic Loading
Is it possible to store libraries as files in QSPI Flash,
manage them through a file system, and dynamically load them into SDRAM at runtime for execution?
Q4. Static Library (.a) + External Memory Execution Architecture
We plan to store an App.bin file (including code compiled with a static library) in external QSPI Flash,
while placing the bootloader in internal Flash.
Is it possible to copy the application from QSPI to SDRAM during boot,
and then execute the code directly from SDRAM (i.e., fetch and execute from SDRAM)?
