cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging STM32F429 on Disco board with CubeIDE

Muthamizh
Associate II

I am using the STM32F429I-DISC1 board and flashed code to the board using the STMCUBEIDE but when i am debugging i have encountered this error(attached the image).

Muthamizh_0-1726114488711.png

I have also tried the external loader file M29W128GL_STM32f4x9I-EVAL and also the flash loader file 0x429 but the same error repeating.

anyone kindly suggest me a solution for this.

4 REPLIES 4
SofLit
ST Employee

Hello,

The image resolution you shared is bad and cannot see anything.

As said in this previous thread, no need for external Loader for that board.

You need only the Flashloader of the MCU.

Could you please share your project?

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.

Screenshot 2024-09-11 153911.png

Screenshot 2024-09-09 145429.png No not this one but i can't able to flash a simple program into STM32F429I-DISC1 board. so i have searched the web in that they have told that need to add the correct stldr file.

in my previous thread they had suggested me a stldr file and that is only for the STM32F429I-EVAL board. and i also tried this for my board but it still gets into the same error.

this is my problem if you find a correct stldr file for my board let me know and also if you find solution to flash and debug a code into STM32F429I board using STM32cubeIDE.

Please check this thread: https://community.st.com/t5/stm32-mcus-products/quot-failed-to-execute-mi-command-load-failed-ltdc-paint-elf/td-p/94809

This thread say how to solve this error by going to the 'debug configuration'option. I hope the solution will help.

If you need a general guideline on STMcube, you can check this out: 

https://www.theengineeringprojects.com/2021/10/first-project-using-stm32-in-stm32cubeide.html

Do you have the same behavior when you try another example like the GPIO EXTI?:

https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32F429I-Discovery/Examples/GPIO/GPIO_EXTI

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.