Skip to main content
Ebun.1
Senior
Jan 18, 2021 5:53 AM UTC
Solved

I want to write a TouchGFX hex file using STM32CubeProgrammer

Thank you for helping.

​

environment:

​

STM32CubeProgrammer Ver2.6.0

TouchGFX Ver4.15.0

Board: STM32F769I-DISCO etc.

​

Is it possible to write a hex file created by TouchGFX using STM32CubeProgrammer?

​

I want to write a program to internal and external flash via UART without using SWD.

​

Thank you.

This topic has been closed for replies.
Houda GHABRI
Houda GHABRIBest answer
ST Employee
Jan 21, 2021 7:01 PM UTC

Hi @Ebun.1​ ,

Flashing external memory is possible only using SWD.

If you want to use SWD you can use this command:

STM32_Programmer_CLI.exe -c port=swd mode=UR -el ExternalLoader\MX25L512G_STM32F769I-DISCO.stldr  firmware.hex

Houda

2 replies

Houda GHABRI
Houda GHABRIBest answer
ST Employee
Jan 21, 2021 7:01 PM UTC

Hi @Ebun.1​ ,

Flashing external memory is possible only using SWD.

If you want to use SWD you can use this command:

STM32_Programmer_CLI.exe -c port=swd mode=UR -el ExternalLoader\MX25L512G_STM32F769I-DISCO.stldr  firmware.hex

Houda

Ebun.1
Ebun.1Author
Senior
Jan 22, 2021 4:21 AM UTC

Hi Houda

Thank you for helping.

Thank you for your answer.