STM32CubeIDE v1.3.0 + TouchGFX v4.13.0 + CubeMX 5.6.0 -- Issue Compiling when using latest versions of those apps together.
Hi!
Given the circumstances, I've finally found time to learn the STM32 dev environment. I have a STM32F769iDisco board.
I've successfully used TouchGFX v4.13.0 to start a new project with a simple interface (background and button). I can compile, simulate and run on target.
I've also been able to use CubeMX to open the ICO file and to modify board settings and then compiling & running using TouchGFX.
The issues begin when I try and debug using STM32CubeIDE. I open the project in a new workspace, build without errors, but when I try and run or debug I get an error.
In the console I get:
STMicroelectronics ST-LINK GDB server. Version 5.5.0
Copyright (c) 2019, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Waiting for debugger connection...
Debugger connected
Debugger connection lost.
Shutting down...And a "Problem Occurred" Alert with the following error:
Error in final launch sequence:
Failed to execute MI command:
load C:\\TouchGFXProjects\\ScreenMaskingController\\STM32CubeIDE\\Debug\\STM32F769I_DISCO.elf
Error message from debugger back end:
Load failed
Failed to execute MI command:
load C:\\TouchGFXProjects\\ScreenMaskingController\\STM32CubeIDE\\Debug\\STM32F769I_DISCO.elf
Error message from debugger back end:
Load failed
Failed to execute MI command:
load C:\\TouchGFXProjects\\ScreenMaskingController\\STM32CubeIDE\\Debug\\STM32F769I_DISCO.elf
Error message from debugger back end:
Load failed
Load failedThe same project builds fine with TouchGFX but not via the IDE. Why?
Is there a way to change the IDE to use the same compiler/programmer settings TouchGFX is using?
Thanks.
