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 

 

1 ACCEPTED SOLUTION

Accepted Solutions
GaetanGodart
ST Employee

Hello @asydhom ,

 


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

 

 Yes there is a special procedure to build and load the STM32N6 board, you have to use one of the provided scripts, it is explained in detail in the read.me file.

Please try that and tell me if it works then.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

View solution in original post

2 REPLIES 2
GaetanGodart
ST Employee

Hello @asydhom ,

 


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

 

 Yes there is a special procedure to build and load the STM32N6 board, you have to use one of the provided scripts, it is explained in detail in the read.me file.

Please try that and tell me if it works then.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hi Gaetan,

 

Yes, all the demos are working fine now.

Thanks.

Ayman