2025-05-26
12:00 AM
- last edited on
2025-05-26
2:53 AM
by
Lina_DABASINSKA
[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)?
Solved! Go to Solution.
2025-05-26 2:50 AM - edited 2025-05-26 2:51 AM
Hello @ishwang ,
Welcome to the ST Community! I see you have created a ticket on our Online Support system with this same information. Our team is working on it and will get back on privately.
I’m closing this conversation on our community forum not to duplicate efforts on this matter.
If you have any other topic, feel free to create a new conversation in a respective forum board
See the relevant guidelines that will help you do it:
How to post - STMicroelectronics Community
ST Community welcome guide - STMicroelectronics Community
Best regards,
Lina - ST Community team
2025-05-26 2:50 AM - edited 2025-05-26 2:51 AM
Hello @ishwang ,
Welcome to the ST Community! I see you have created a ticket on our Online Support system with this same information. Our team is working on it and will get back on privately.
I’m closing this conversation on our community forum not to duplicate efforts on this matter.
If you have any other topic, feel free to create a new conversation in a respective forum board
See the relevant guidelines that will help you do it:
How to post - STMicroelectronics Community
ST Community welcome guide - STMicroelectronics Community
Best regards,
Lina - ST Community team