cancel
Showing results for 
Search instead for 
Did you mean: 

Project imported from TouchGFX but not able to debug for board STM32H745I - DISCO

reubengoh95
Associate II

Hello ST community,

I am having some issues with importing the generated code by TouchGFX into STM32CubeIDE.

I am able to press run target on TouchGFX and load my application onto the board. But when I import the into STM32CubeIDE, I encounter an error 

Error in final launch sequence:

Failed to execute MI command:
load D:\\development\\stm32_touchgfxprojects\\My745i-disco-2\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

Error message from debugger back end:
Load failed
Failed to execute MI command:
load D:\\development\\stm32_touchgfxprojects\\My745i-disco-2\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

Error message from debugger back end:
Load failed
Failed to execute MI command:
load D:\\development\\stm32_touchgfxprojects\\My745i-disco-2\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

Error message from debugger back end:
Load failed
Load failed

(As shown in the image attached).

 

I have attached the debug log as well. For my debug configuration, I followed AN5361 Setting up with ST-LINK GDB Server for dual core debugging. 

 

Board: STM32H745I - DISCO

TouchGFX ver: 4.24.1

STM32CubeIDE ver: 1.16.1

 

I have been trying to resolve this for a week or so but still cannot find any solution.. please help

 

Regards,

Reuben Goh

1 ACCEPTED SOLUTION

Accepted Solutions
reubengoh95
Associate II

Update:

I manage to solve my issue by referring to this forum. 

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/stm32h745i-with-touchgfx-does-not-load-code-in-stm32cubeide/td-p/720239

I did not add in the external flashloader in my debug configuration.

 

View solution in original post

1 REPLY 1
reubengoh95
Associate II

Update:

I manage to solve my issue by referring to this forum. 

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/stm32h745i-with-touchgfx-does-not-load-code-in-stm32cubeide/td-p/720239

I did not add in the external flashloader in my debug configuration.