cancel
Showing results for 
Search instead for 
Did you mean: 

An error occured during flash.

youssef.amimi
Associate III

I am trying to run a clock demo from TouchGFX 4.10.0 Designer for my STM32F769-DISCO.

But when i Run on target the detailed log shows the erroe:" there is an error occured during flash.  Please make sure you have the right target connected."

PS:I am sure that i have choose the right target.

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

Can you please try updating your ST-Link? It seems your installation is quite old. ST-Link_CLI.exe is on v3.3.0.

Ca you try connecting through the ST-Link GUI, not in TouchGFX Designer.

View solution in original post

9 REPLIES 9
Martin KJELDSEN
Chief III

Hi @youssef.amimi​,

How are you programming your board? Through the designer? Through ST-Link directly? STCubeProgrammer?

/Martin

Martin KJELDSEN
Chief III

Could you show me a screenshot of the error?

/Martin

Martin KJELDSEN
Chief III

Make sure you have a microUSB cable connected in the ST-Link connector, start up ST-Link and connect and post the results here (TouchGFX designer uses ST-Link to program boards).

youssef.amimi
Associate III

Hi @Martin KJELDSEN​ this is a screenshot of the error0690X000008BT5eQAG.png

PS: I run the clock demo successfully on STM32F746NG

Martin KJELDSEN
Chief III

Can you please try updating your ST-Link? It seems your installation is quite old. ST-Link_CLI.exe is on v3.3.0.

Ca you try connecting through the ST-Link GUI, not in TouchGFX Designer.

I updated ST-link_CLI.exe on v3.4.0 and all the demos runs perfectly.

Thank you very much for your help.:smiling_face_with_heart_eyes:

You're welcome! Sometimes the firmware version of the ST-Link utility is incompatible with the firmware version in the ST-link chip on the board.

Yes i realized that . Thank you again.

No problem! Let me know if there's anything else i can help you with.