2026-03-02 8:12 AM
Hi everyone,
I'm using the new STM32Cube.AI Studio with a NUCLEO-N657X0-Q board. Since the STM32N6 is flashless, I used the --split-weights flag to allocate the NN weights to the external xSPI memory (address 0x71000000).
The project builds successfully, but the automated flashing step fails with Error: failed to download Sector[0]. It seems that STM32Cube.AI Studio calls STM32CubeProgrammer in the background without configuring the required External Loader for the external flash.
Is there a native way to set up the External Loader directly within STM32Cube.AI Studio's settings, or is the officially recommended workflow right now to flash the weights manually via the standalone CubeProgrammer?
Thanks in advance!
Solved! Go to Solution.
2026-03-02 12:32 PM
Hello,
Actually, there is no way to select an External Loader for this step.
However, we are aware of this limitation for NUCLEO-N657X0-Q and it will be fixed in the next release of STM32Cube AI Studio.
Best regards,
Yanis
2026-03-02 12:32 PM
Hello,
Actually, there is no way to select an External Loader for this step.
However, we are aware of this limitation for NUCLEO-N657X0-Q and it will be fixed in the next release of STM32Cube AI Studio.
Best regards,
Yanis