2026-03-24 5:48 AM
Hello
"Program and Run Target" stops with some Messages (Small Test Prog.)
"Program All":
-------------------------------------------------------------------
STM32CubeProgrammer v2.22.0
-------------------------------------------------------------------
Memory Programming ...
File : STM32N6570-DK_FSBL-trusted.bin
Size : 32.63 KB
Address : 0x70000000
Erasing memory corresponding to segment 0:
Erasing external memory sector 0
Error: failed to erase memory
Error: failed to erase memory
c:/TouchGFXProjects/MyApplication_5/gcc/include/flash_sections_int_ext.mk:18: recipe for target '_fsblflash_' failed
make[2]: *** [_fsblflash_] Error 1
makefile_fsbl:45: recipe for target 'flash' failed
make[1]: *** [flash] Error 2
../../gcc/Makefile:8: recipe for target 'flash' failed
make: *** [flash] Error 2
Failed
"Program Internal Flash":
Memory Programming ...
File : STM32N6570-DK_Appli-trusted.bin
Size : 345.22 KB
Address : 0x70100000
Erasing memory corresponding to segment 0:
Erasing external memory sectors [16 21]
Error: failed to erase memory
Error: failed to erase memory
c:/TouchGFXProjects/MyApplication_5/gcc/include/flash_sections_int_ext.mk:12: recipe for target '_intflash_' failed
make[2]: *** [_intflash_] Error 1
makefile_appli:55: recipe for target 'intflash' failed
make[1]: *** [intflash] Error 2
../../gcc/Makefile:12: recipe for target 'intflash' failed
make: *** [intflash] Error 2
Failed
Failed
A second "Program and Run Target" is necessary to correctly programm the STM32N6. To start the Prog. a Cold Boot (Power off/of) is necessary.
PC: Standard PC Win 10
BTW: Some Demos are making Problems also. The "Coffee Machine Demo" stops with
make (e=206): Der Dateiname oder die Erweiterung ist zu lang.
make[3]: *** [Appli/TouchGFX/build/bin/target.elf] Error 206
make[2]: *** [generate_assets] Error 2
Failed
../../gcc/Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make: *** [all] Error 2
FailedDer Dateiname oder die Erweiterung ist zu lang = Filename or Extension is to long.
Marc
Solved! Go to Solution.
2026-03-24 6:52 AM
Edit:
I managed to get the Coffee demo running. I changed OS from FreeRTOS to ThreadX.
2026-03-24 6:52 AM
Edit:
I managed to get the Coffee demo running. I changed OS from FreeRTOS to ThreadX.