Skip to main content
yves2brest
Associate II
February 14, 2021
Question

Why I can’t load the GFX01M1_HelloWorld project. ST32cubeIde tells me: Error message from debugger back end: Load failed Failed to execute MI command:

  • February 14, 2021
  • 3 replies
  • 1603 views

Load failed

Failed to execute MI command:

load "C:\\st_products\\QVGA_TFT_LCD\\en.X-CUBE-DISPLAY_1_0_0\\Projects\\NUCLEO-G071RB\\Applications\\GFX01M1_HelloWorld - Copie\\STM32CubeIDE\\Debug\\X-NUCLEO-GFX01M1.elf"

This topic has been closed for replies.

3 replies

Romain DIELEMAN
ST Employee
February 18, 2021

Hi,

Could you share a screenshot of your issue ? Where did you find that project ? From what I find online I believe it is a Eclipse/CubeIDE issue with different potential origins and fixes :grinning_face_with_sweat:

This is not a TouchGFX issue could you edit the tags and remove it ?

/Romain

yves2brest
Associate II
February 19, 2021
Hi, *you will find* <> You will find the screenshot below. I found the project ,GFX01M1_HelloWorld, in.X-CUBE-DISPLAY_1_0_0, which accompanies the X-Nucleo-GFX01M1 board. The path to the project is as follows: C:\st_products\QVGA_TFT_LCD\en.X-CUBE-DISPLAY_1_0_0\Projects\NUCLEO-G071RB\Applications\GFX01M1_HelloWorld. Yesterday I started a new project from the file, X-NUCLEO-GFX01M1.ioc . I made a project, I build it. I load it without problem. In main.c there is not the “#include “Image.h�? . The file "Image. h" weighs 468ko. Today, I write #include “Image.h�? at the beginning of main.c and I add the file “Image.h�? in the "includes�?. I build it. I cannot load the project. The problem comes back. The memory of STM32G071RB is 128ko! The Image is too big. Best regards Yves mevel <> Garanti sans virus. www.avg.com <> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Romain DIELEMAN
ST Employee
February 22, 2021

A bit confused by the link to reverso :grinning_face_with_sweat:.

If you plan to work with TouchGFX I would recommend to start a project from TouchGFX Designer. You can either select the application template for the STM32G071 nucleo board, or start a project with an "online application" with a complete premade demo.

Creating a project from either of those options will generate a configured ioc project with a TouchGFX project and a CubeIDE project.

/Romain

Andreas Bolsch
Lead III
February 20, 2021

If you check e.g. STM32CubeIDE/STM32G071RBTX_FLASH.ld or some of the other linker scripts, you will see that there's part of the binary supposed to go to the external SPI flash. This SPI flash must be programmed in some way, depending on the flash program you're using you will need an external loader (for STM32CubeProg: MX25L6433F_STM32G071B_NUCLEO.stldr, included in X-CUBE-DISPLAY) or e.g. OpenOCD with the patch http://openocd.zylin.com/#/c/4760/

yves2brest
Associate II
February 25, 2021

I can’t find a solution to import "MX25L6433F_STM32G071B_NUCLEO.stldr" into STM32CubeProg by searching in the Graphics interface.Should Command Lines be Used

RHori.1
Visitor II
May 31, 2022

I found a good answer on the video 2 of this link around 11 minutes mark.On-demand Webinar: STM32G0 TouchGFX Demonstration - STMicroelectronics