Skip to main content
DPast.2
Associate
March 20, 2023
Solved

How to use external Flash with STM32Cube.AI?

  • March 20, 2023
  • 1 reply
  • 2733 views

Hi,

I have managed to program the STM32F746G-DISCO with a simple neural network but when I try to do it using the external Flash by using the option in advanced settings (External NOR Flash) it doesn't work. Any idea why? Is there anything else I need to do?

I'm using STM32CubeMX and Keil.

Thanks!

This topic has been closed for replies.
Best answer by DPast.2

In case anyone runs into this problem, I managed to solve it. Instead of generating a .bin file, I used a linker script (option in advanced settings too) and increased the RAM for algorithm size in Options for Target in Keil so that there is enough space.

1 reply

DPast.2
DPast.2AuthorBest answer
Associate
March 20, 2023

In case anyone runs into this problem, I managed to solve it. Instead of generating a .bin file, I used a linker script (option in advanced settings too) and increased the RAM for algorithm size in Options for Target in Keil so that there is enough space.

MJog.1
Associate
June 22, 2023

Hey, I m trying to run a model using external flash and RAM and I have configured it in the advance setting section of STM32Cube AI plugin.  My question is that do I have to explicitly do anything in my C code for it to use the External Flash or RAM? or the STM32CUBE-AI APIs will take care of it?