cancel
Showing results for 
Search instead for 
Did you mean: 

Question about STM32 H7 Series Function

ishwang
Associate

[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)?

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Lina_DABASINSKAITE
Community manager
Community manager

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 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Lina_DABASINSKAITE
Community manager
Community manager

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 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.