2023-11-09 02:31 AM
i am facing such error while flashing the code to board.
What can be probable region ?
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
Solved! Go to Solution.
2023-11-09 09:49 AM - edited 2023-11-09 09:50 AM
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
2023-11-09 09:49 AM - edited 2023-11-09 09:50 AM
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
2023-11-09 10:08 PM - edited 2023-11-09 10:09 PM
thank you for the solution.
now i am able to solely run target using gfx but another issue is raised.
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
2023-11-09 10:17 PM
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
2023-11-09 10:36 PM
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