Skip to main content
KLau.1
Associate II
June 23, 2020
Question

I have purchase set STM32H750B-DK, currently i am practice to use toughgfx function, it work well under simulation mode, and i use STMCubeIDE to Compile is ok, no error, when download to STM32H750B-DK. but when download, encounter error below.

  • June 23, 2020
  • 5 replies
  • 1041 views

I have purchase one set STM32H750B-DK, currently i am practice to use toughgfx function, it work well under simulation mode, and i use STMCubeIDE compile is ok , when download to STM32H750B-DK, encounter error below. appreciate you all able advise.

Error in final launch sequence:

Failed to execute MI command:

load C:\\Users\\admin\\STM32CubeIDE\\workspace_1.2.0\\Implement\\Debug\\Implement.elf

Error message from debugger back end:

Load failed

Failed to execute MI command:

load C:\\Users\\admin\\STM32CubeIDE\\workspace_1.2.0\\Implement\\Debug\\Implement.elf

Error message from debugger back end:

Load failed

Failed to execute MI command:

load C:\\Users\\admin\\STM32CubeIDE\\workspace_1.2.0\\Implement\\Debug\\Implement.elf

Error message from debugger back end:

Load failed

Load failed

Further go to debug mode, show error above,

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

Waiting for debugger connection...

Debugger connected

Debugger connection lost.

Shutting down...

appreciate your team expertise able assist for it.

This topic has been closed for replies.

5 replies

KLau.1
KLau.1Author
Associate II
June 24, 2020

I have saw the link method, but no work at all. is it ST team able help remote control and check it. appreciate a lot

Bob Bailey
Senior
December 10, 2020

No response from support? I have a similar issue with the latest tools. Touchgfx designer uses default project names when generating code. If I use that, everything seems to work. If I rename the project (either once imported into CubeIDE, or before importing when its just the designer generated output) I get that same error.

error message is essentially the same. Note, everything works fine if I haven't renamed the project. I've gone thru the debug config and it looks ok as far as I can tell. The only change was renaming the project from STM32H735G-DK to STM32H735G-DK1 (I think I renamed the .launch file also)

Error in final launch sequence:
 
Failed to execute MI command:
load C:\\Users\\Bob\\Documents\\BE\\blah\\Proj004\\STM32CubeIDE\\Debug\\STM32H735G-DK1.elf 
 
Error message from debugger back end:
Load failed
Failed to execute MI command:
load C:\\Users\\Bob\\Documents\\BE\\blah\\Proj004\\STM32CubeIDE\\Debug\\STM32H735G-DK1.elf 
 
Error message from debugger back end:
Load failed
Failed to execute MI command:
load C:\\Users\\Bob\\Documents\\BE\\blah\\Proj004\\STM32CubeIDE\\Debug\\STM32H735G-DK1.elf 
 
Error message from debugger back end:
Load failed
Load failed

Bob

Michael K
Senior III
December 10, 2020

I run F7s. I've renamed projects by changing the project name in the .project file, then reimporting into the workspace. I've never had these issue be tied to project renames though. Does it work if you build the project, then flash the .elf file with STM32CubeProgrammer?

Embedded UI/UX Consulting: cadenza.design
Bob Bailey
Senior
December 10, 2020

I think I may have solved my issue. I have not tried using the CubeProgrammer directly. What I did was open up my renamed .launch file and edited the spots where the original project name was . I then picked the .elf file in the debug config and it worked.

Still figuring out all the new 'features' of the latest Cube/Touch generation (links to files instead of the actual files in the project directories, whats up with that....?)

Thanks for your reply

Bob