Showing results for 
Search instead for 
Did you mean: 

Flash and RAM memory size for STM32H747I-DISCO board is not as expected

Associate II


I'm trying to validate a CNN model using X-CUBE-AI and the STM32H747I-DISCO board with the microcontroller STM32H747XIH6. The Flash memory size should be 2MB and 1MB of RAM. However, the memory limit is bellow the expected one. For instance, the Flash is limited to 1MB (please see the picture from the attachment).

Can someone please help me with an explanation?

Thank you very much!

ST Employee

Hello @ILuca.1 

X-CUBE-AI displays 1MB of flash available for your project because you are working on either Cortex-M7 or Cortex-M4.

This board has two MCUs. So the project splits this 2MB in half for both MCUs which concludes to 1MB each.

You can follow the documentation to raise this 1MB to approx. 2MB:

See: AI:How to run larger models on STM32H747I-DISCO - stm32mcu


You can use External Flash also, but it may increase your inference time.


Best regards,

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.