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).
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