Question
AI Studio: Error during programming: failed to download Sector[0]
Hi everyone,
I'm encountering a blocking issue while trying to start an inference on a NUCLEO-N657X0-Q using STM32Cube AI Studio and STM32CubeProgrammer.
The connection to the board via SWD seems successful, but the process fails during the memory programming phase.
-------------------------------------------------------------------
STM32CubeProgrammer v2.22.0
-------------------------------------------------------------------
ST-LINK SN : 002F00223234510333353533
ST-LINK FW : V3J17M10
Board : NUCLEO-N657X0-Q
Voltage : 3.28V
SWD freq : 8000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x486
Revision ID : Rev Z
Device name : ST32N657
Device type : MCU
Device CPU : Cortex-M55
BL Version : --
Opening and parsing file: run-9_Appli.elf
Memory Programming ...
File : run-9_Appli.elf
Size : 3.17 MB
Address : 0x00000000
Erasing memory corresponding to segment 0:
Download in Progress:
Error: flash loader cannot be loaded.
Reconnecting...
ST-LINK SN : 002F00223234510333353533
ST-LINK FW : V3J17M10
Board : NUCLEO-N657X0-Q
Voltage : 3.28V
SWD freq : 8000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x486
Revision ID : Rev Z
Error: failed to download Sector[0]
Error: failed to download the File
0%
Run failed: Error: STM32CubeProgrammer exited with code 1