2025-12-18 8:03 AM
Hi all,
I used STM32H7S78-DK and everything was fine: I was able to load and flash the "HVAC Iot Demo" from TouchGFX Designer at the first time and develop my application using STM32CubeIDE.
Then I bought an STM32N6570-DK and did the same procedure as before, but I was not able to flash that demo.
I can successfully generate the code inside the TouchGFX Designer (version 4.26.0) but, when I push the button "Program and run target", I get this kind of error:
Erasing memory corresponding to segment 0:
Erasing external memory sector 0
Error: failed to erase memory
Error: failed to erase memory
c:/TouchGFXProjects/STM32N6570DK/IotDemo/MyApplication/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
Failed
Can anyone please help me?
Solved! Go to Solution.
2025-12-22 3:56 AM
Hi all,
finally I was able to run a Demo, following this post:
https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-on-stm32n6570-dk/m-p/862490#M45589
2025-12-19 12:12 AM
Hello @AngeloCardone.
First of all, just to confirm, have you remembered to set the boot switch in the correct position?
Best regards,
Johan
2025-12-19 3:02 AM
Hello @JohanAstrup,
both boot switch are in the correct position, i.e. on the "L" side.
Moreover, I performed two different procedures to load the demo on the dk, but both failed.
The steps performed are as follows:
Now the board reboots with the default Demo project (present at the time of purchase) and not with the project I loaded.
The same procedure was repeated with other TouchGFX demos and with a new project created from scratch containing only one button.
2025-12-22 3:56 AM
Hi all,
finally I was able to run a Demo, following this post:
https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-on-stm32n6570-dk/m-p/862490#M45589