cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Designer - Program and Run Target Failed

alw
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
GaetanGodart
ST Employee

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,

Gaetan Godart
Software engineer at ST (TouchGFX)

View solution in original post

2 REPLIES 2
GaetanGodart
ST Employee

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,

Gaetan Godart
Software engineer at ST (TouchGFX)
alw
Associate III

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