cancel
Showing results for 
Search instead for 
Did you mean: 

How to use extend FLASH?

pienasc
Associate

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

1 REPLY 1
Julian E.
ST Employee

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.