2026-03-05 2:34 AM
Hi
I am using the STM32N6570-DK board for AI application development and want to flash the code from the 'https://github.com/STMicroelectronics/STM32N6-GettingStarted-ImageClassification' repository. However, when I flash the .elf file from the debug folder, I get an invalid output. Do I need to flash the FSBL and model hex separately? Is there a specific flashing sequence I should follow? Currently, both BOOT0 and BOOT1 are set to 0, and I suspect the AI model is missing from the flash memory.
Best Regards
Ram
Solved! Go to Solution.
2026-03-05 2:41 AM
Hi @RanjithRemasan,
It is explained here:
Have a good day,
Julian
2026-03-05 2:41 AM
Hi @RanjithRemasan,
It is explained here:
Have a good day,
Julian
2026-03-05 5:34 AM
Hi @Julian E.
Can i do the same from cube IDE? if so, please let me know the steps for flash the 3 .hex. Alo can i flash .elf?
Best Regards
Ranjith Remasan
2026-03-06 1:24 AM - edited 2026-03-06 1:25 AM
Hi @RanjithRemasan ,
it is maybe possible via CubeIDE, but I don't know how... Please try to open a new thread in the STM32 tools forum board. I didn't find an example on google.
STM32Cube Programmer is a small tool made only for that, so I don't see why you would avoid using it..
Have a good day,
Julian
2026-03-06 4:58 AM
Hello,
To complete what shared Julian:
From STM32CubeIDE, you have the ability to load .elf as well as .hex files during your debug startup:
If flashing .bin, you will need to provide the address where you want to load your content. For .hex and .elf file, start address is already in the file
This content will be loaded through the debugger.
Best regards,
Yanis