2023-04-27 12:33 AM
Hello,
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!
Solved! Go to Solution.
2024-01-03 12:54 AM
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,
Yanis