How to use extend FLASH?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-10 7:02 PM
I have just started learning X-CUBE-AI and encountered an issue when deploying a large model. Currently, I am trying to deploy a model of approximately 4 Mb on the STM32F4ZGT6, but its internal FLASH is only 1 Mb. To address this, I plan to use an external W25Q128 FLASH chip. However, I couldn't find any relevant tutorials, and after compiling the code, I received the following errors:
ResNet.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).
ResNet.axf: Error: L6407E: Sections of aggregate size 0x21540 bytes could not fit into .ANY selector(s).
- Labels:
-
STM32CubeAI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-11 12:36 AM
Hello @pienasc ,
Can you please look at this topic and let me know if it helps:
Solved: How to use the extended Flash on X-CUBE-AI - STMicroelectronics Community
Have a good day,
Julian
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-13 11:50 PM
Hello ,
ResNet.axf: Error: L6407E: Sections of aggregate size 0x21540 bytes could not fit into .ANY selector(s).
