Skip to main content
Ubus99
Associate III
August 8, 2020
Question

When trying to flash my program, I get an error Log that I do not understand, and that I can't find any information about online

when trying to flash my program, i get this error:

Error in final launch sequence:
 
Failed to execute MI command:
load >>Path<<\\Debug\\>>project_name<<.elf 
 
Error message from debugger back end:
Load failed
Failed to execute MI command:
load >>Path<<\\Debug\\>>project_name<<.elf
 
Error message from debugger back end:
Load failed
Failed to execute MI command:
load >>Path<<\\Debug\\>>project_name<<.elf
 
Error message from debugger back end:
Load failed
Load failed

I thought there may be an error in the run configuration, so I created an empty project for the f103rct, and it flashes without problems.

But even after matching the configurations, I get the same error.

to make it even more confusing, the ST-Link utility flashes the .bin file just fine.

This topic has been closed for replies.

3 replies

Ubus99
Ubus99Author
Associate III
August 8, 2020

Additional information:

STMicroelectronics ST-LINK GDB server. Version 5.6.0
Copyright (c) 2020, 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...

prain
Visitor II
August 8, 2020

In debug option menu, set openOCD instead of stlink gdb server. try to debug with openOCD and post error logs here.

Ubus99
Ubus99Author
Associate III
August 8, 2020

I made a new project and migrated all the code, took some time but now it works.

I still don't know what the exact error was.