Skip to main content
Associate III
January 13, 2025
Solved

TouchGFX Designer - Program and Run Target Failed

  • January 13, 2025
  • 2 replies
  • 1175 views

I am using TouchGFX Designer standalone and can build and simulate my project ok, but Program and Run Target fails with 'recipe for target '_extflash_' failed' even though STM32CubeProgrammer is connected to the STM32F7508-DK  board that I am using. What am I missing please?

250113 TouchGFX Program Error.png

Best answer by GaetanGodart

Hello @alw ,

 

This kind of error could occur if you have the board connected on something else at the same time, for instance if it is connected to STM32CubeProgrammer while you try to flash using TouchGFX Designer.
It could also happen if you have 2 boards connected to your PC.
Ensure that your board is not being used by another ST-Link and that only one board is connected at a time.

If that doesn't help, can you tell me more about your project, what board you use, what is at line 52 of your Makefile?

 

Regards,

2 replies

GaetanGodart
GaetanGodartBest answer
Technical Moderator
January 13, 2025

Hello @alw ,

 

This kind of error could occur if you have the board connected on something else at the same time, for instance if it is connected to STM32CubeProgrammer while you try to flash using TouchGFX Designer.
It could also happen if you have 2 boards connected to your PC.
Ensure that your board is not being used by another ST-Link and that only one board is connected at a time.

If that doesn't help, can you tell me more about your project, what board you use, what is at line 52 of your Makefile?

 

Regards,

alwAuthor
Associate III
January 14, 2025

Hi @GaetanGodart 

Yes, a fresh start in the morning and the issue is solved. I think I had STM32CubeProgrammer open at the same time yesterday. With just TouchGFX Designer running, the Program and Run Target worked ok.

Kind regards,

Al