cancel
Showing results for 
Search instead for 
Did you mean: 

Launching STM32G071RB_NUCLEO_AZ2 has encountered a problem

Jiannong Zhou
Associate II

Bought NUCLEO-G071RB + X-NUCLEO-GFX01M2, created a project with ToughGFX Designer. After compiled the project without errors.

But there is a "Launching STM32G071RB_NUCLEO_AZ2 Debug has encountered a problem.

Error in final launch sequence:

Failed to executed MI command:

load ...

Error message from debugger back end:

load failed.

What causes this issue?

Jiannong

4 REPLIES 4
Yoann KLEIN
ST Employee

Hello @Community member​,

That can happen sometimes with CubeIDE.

Could you try to unplug and plug again your board and try again to flash your application ?

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX
Jiannong Zhou
Associate II

Yoann,

thanks for your information. I will try it out.

Jiannong

Jiannong Zhou
Associate II

Yoann,

I tried to plug and unplug USB cable for Nucleo board. but the issue still happen.

Jiannong

What happens if you choose another Toolchain ?

Go to CubeMX>Project Manager > Toolchains > EWARM and press generate code.

Then open the .touchgfx project and press generate code.

Open the EWARM project and try to compile and run.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX