cancel
Showing results for 
Search instead for 
Did you mean: 

I want to write a TouchGFX hex file using STM32CubeProgrammer

Ebun.1
Senior

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Houda GHABRI
ST Employee

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

View solution in original post

2 REPLIES 2
Houda GHABRI
ST Employee

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

Hi Houda

Thank you for helping.

Thank you for your answer.