cancel
Showing results for 
Search instead for 
Did you mean: 

I can't get any of STM32N6570-DK TouchGFX demos to work.

asydhom
Associate II

Hi,

 

I am trying to get any of the TouchGFX demos to work on STM32N6570-DK board to work but nothing worked so far. Only TouchGFX Analog/Digital clock example works from all other available examples. All available demos for N6 DK board don't work.

When I try a demo, I see that the "Post-Build steps" has already the following script:

arm-none-eabi-objcopy.exe -O binary --remove-section=ExtFlashSection --remove-section=FontFlashSection --remove-section=TextFlashSection ${ProjName}.elf ${ProjName}.bin&arm-none-eabi-objcopy.exe -O ihex --only-section=FontFlashSection --only-section=TextFlashSection --only-section=ExtFlashSection ${ProjName}.elf ${ProjName}_assets.hex

I appended the script with "&&" to add the header script as follows:

arm-none-eabi-objcopy.exe -O binary --remove-section=ExtFlashSection --remove-section=FontFlashSection --remove-section=TextFlashSection ${ProjName}.elf ${ProjName}.bin&arm-none-eabi-objcopy.exe -O ihex --only-section=FontFlashSection --only-section=TextFlashSection --only-section=ExtFlashSection ${ProjName}.elf ${ProjName}_assets.hex && cd "${ProjDirPath}/Debug" && echo y | "C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_SigningTool_CLI.exe" -bin "${ProjName}.bin" -nk -of 0x80000000 -t fsbl -o "${ProjName}-trusted.bin" -hv 2.3 -dump "${ProjName}-trusted.bin"

It builds successfully and generated the trusted BIN file but doesn't work for all the demos.

Also launching the demos applications in debug mode with the right setting of the BOOT mode switch1 does either work.

If there is special procedure to build and load the TouchGFX demo applications, please share it with me.

Thanks.

Ayman Sydhom 

 

0 REPLIES 0