cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to Run target for STM32H745-disco board using TouchGFX

Chaitanya1997
Associate II

i am facing such error while flashing the code to board.

What can be probable region ?

@JTP1 

 

ST-LINK error (DEV_CONNECT_ERR)

c:/TouchGFXProjects/11092023/gcc/include/flash_sections_int_ext.mk:5: recipe for target '_extflash_' failed
make[2]: *** [_extflash_] Error 1
make[2]: Leaving directory 'c:/TouchGFXProjects/11092023'
makefile_cm4:42: recipe for target 'flash' failed
make[1]: *** [flash] Error 2
make[1]: Leaving directory 'C:/TouchGFXProjects/11092023/gcc'
../../gcc/Makefile:10: recipe for target 'flash' failed
make: *** [flash] Error 2
Failed

1 ACCEPTED SOLUTION

Accepted Solutions
JTP1
Lead

Hello

Are you able to program your device with CubeProgrammer ?

Please also note that you should not have Cubeprogrammer connection open to the device or CubeIDE debug session open same time when try to 'Run target' in TGFX Designer. It seems to give this exact DEV_CONNECT_ERR- error.

Br JTP

View solution in original post

4 REPLIES 4
JTP1
Lead

Hello

Are you able to program your device with CubeProgrammer ?

Please also note that you should not have Cubeprogrammer connection open to the device or CubeIDE debug session open same time when try to 'Run target' in TGFX Designer. It seems to give this exact DEV_CONNECT_ERR- error.

Br JTP

thank you for the solution.

now i am able to solely run target using gfx but another issue is raised.

@JTP1 

Board : STM32H745I - DISCO

Cubeide : v.1.13.2
TouchGFX : v4.22.1 Designer

i did generate code in touchgfx then imported the entire project in cube IDE.


STM32H745I - DISCO as it is dual core m4 and m7
1st i did build and debugging for STM32H745I_DISCO_CM4 <--- (check in image). It is successful.
2nly done with building for STM32H745I_DISCO_CM7 <--- (check in image) .It is successful
But while debugging the STM32H745I_DISCO_CM7 ;

i am facing following issue ??????

 

 

Error in final launch sequence:

 

Failed to execute MI command:

load C:\\TouchGFXProjects\\T_First_Project\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

 

Error message from debugger back end:

Load failed

Failed to execute MI command:

load C:\\TouchGFXProjects\\T_First_Project\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

 

Error message from debugger back end:

Load failed

Failed to execute MI command:

load C:\\TouchGFXProjects\\T_First_Project\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

 

Error message from debugger back end:

Load failed

Load failed



Hello

Im not experienced with these dual-core mcus. But check this video, it might help you :D

https://m.youtube.com/watch?v=jI1k6p-fduE

Br JTP

thanks for sharing video
but sir i am able to do normal debug operation of example

but facing the error while i am debugging touchgfx project

can you please suggest me the best person to tackle this issue

@JTP1