"Failed to execute MI command.... Load failed ... LTDC_Paint.elf" , see also attachment.
Which configuration did I miss?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-09 6:37 AM
I bought the STM32H750B Discovery and wanted to program a first example "LTDC Paint" on the demo to start.
I am using the STM32Cube IDE version 1.9 (default installation, no changes made).
Procedure:
- File -> New -> STM32 Project -> Examples -> select the Discovery Board -> select the LTDC Paint example -> Run LTDC Paint
Then I get the following error message, see attachment:
"Failed to execute MI command.... Load failed ... LTDC_Paint.elf"
Which configuration did I miss?
Solved! Go to Solution.
- Labels:
-
LCD-LTDC
-
STM32CubeIDE
-
STM32H7 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 9:29 AM
Hello @pk84​
First let me thank you for having reported.
In fact I could reproduce the issue you have encountered.
And after further analysis I observed that the used example in this case use an external memory.
In this case you should set the Debug configuration in the CubeIDE to accommodate this.
- Go to the Debug Configuration
- Click on "SCAN" button and select the adequate external loader for the "MT25TL01G_STM32H750B-DISCO, 0x90000000, NOR_FLASH, MT25TL01G_STM32H750B-DISCO.stldr"
Feel free to repost about the efficacity of this solution.
Your feedback will be very helpful.
Kind regards,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-11 11:37 PM
I would appreciate any little hint/tip?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 9:29 AM
Hello @pk84​
First let me thank you for having reported.
In fact I could reproduce the issue you have encountered.
And after further analysis I observed that the used example in this case use an external memory.
In this case you should set the Debug configuration in the CubeIDE to accommodate this.
- Go to the Debug Configuration
- Click on "SCAN" button and select the adequate external loader for the "MT25TL01G_STM32H750B-DISCO, 0x90000000, NOR_FLASH, MT25TL01G_STM32H750B-DISCO.stldr"
Feel free to repost about the efficacity of this solution.
Your feedback will be very helpful.
Kind regards,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-13 6:23 AM
Thanks, I will try this solution as soon as possible.
Still one question:
1) What if I want change the pin-configuration of the connected QSPI-Flash (in case of a customized board) ? Where can I do this? I ask because there is no QSPI driver file in the LTDC example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-15 7:24 AM
Hello @pk84​
My bad I forgot to mention this part in my reply.
In fact since the example project is stored and executed from external memory you need to flash the "ExtMem_Boot".
The boot project take care of the init of the QSPI interface.
The boot project could be found under "STM32Cube_FW_H7_V1.10.0\Projects\STM32H750B-DK\Templates".
Import the "ExtMem_Boot" to CubeIDE and build it.
Go to the debug configuration for the LTDC Paint example project and under [Startup] add the download of the ExtMem_Boot" binary. (check screenshot bellow)
Kind regards,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-28 3:22 AM
I am facing same issue but In my application external loader option is not showing , how to resolve this issue .
