Skip to main content
Ebun.1
Senior
January 18, 2021
Solved

I want to write a TouchGFX hex file using STM32CubeProgrammer

  • January 18, 2021
  • 2 replies
  • 857 views

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.
Best answer by Houda GHABRI

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
January 21, 2021

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
January 22, 2021

Hi Houda

Thank you for helping.

Thank you for your answer.