Skip to main content
Visitor II
April 16, 2026
Question

How to configure the flash memory of N6 in STM32CubeAI Studio with GUI method

  • April 16, 2026
  • 2 replies
  • 92 views

Environment:

  • Tool: STM32Cube.AI Studio (Windows Desktop)

  • MCU: STM32N647 (Flashless)

  • Board: Custom board (Non-ST DK/Nucleo)

Issue: The Memory Pool option is locked to "Auto" and cannot be switched to "Manual" in the GUI. Since STM32N647 has no internal Flash, the default "Auto" mode triggers a Memory Overflow error as it attempts to place weights in non-existent Flash.

Question: I have already prepared a custom mpool and Jason file. How can I explicitly point the Studio to use this JSON file via the GUI? I've checked the Wiki but couldn't find the specific input field...

 

XCTang_1-1776349563311.png

 

 

2 replies

hamitiya
ST Employee
April 17, 2026

Hello @XCTang 

For the actual version,  "automatic" is the default memory pool available in ST Edge AI Core.

You can find this content in:

C:\ST\STEdgeAI\<version>\Utilities\windows\targets\stm32\resources\NPU\STM32N6xx\stm32n6.mpool

You can then edit it in order to replace/disable flash region.

If you already hav a memory pool, kindly rename it to the current mempool file. 

 

It is a temporary limitation. We are working on UI support for the memory pools, for the next release.

 

Best regards,

Yanis

​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.
Julian E.
Technical Moderator
April 17, 2026

@XCTang,

 

It is a Yanis says,

Next release is planned for end of April

 

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.