2025-06-12 8:51 AM
Hello!
I'm using NUCLEO-H7S3L8 and trying to implement my AI on the external octo flash using STM32CubeMX and X-Cube-AI. How can I do this? My main application is already running in the octo flash.
Thanks,
Marcos.
2025-06-13 12:58 AM - edited 2025-06-13 12:59 AM
Hello @marcosrambo,
On the network view you have an additional popup window (see below) where you can ask to use external memories.
On STM32 known boards, if there is external memory, it will automatically insert the BSP code to use that memory in the generated code.
If you use external memory you can ignore the message that the amount of RAM / Flash required is bigger than the one availbale
When using external memory, the weights are located in external memory and a network_data.bin file is generated so you can flash it on the external memory
The same applies for external RAM, you can put the activation buffer in external RAM.
Have a good day,
Julian