cancel
Showing results for 
Search instead for 
Did you mean: 

Not possible to Run/Debug on the evaluation board STM32F446RE Nucleo-64

Refused_HC
Associate II

Hello all,

I have created a project with STM32CubeMx based on this evaluation board:

Refused_HC_0-1769765120176.png

I generate the source code, and I  can compile it correctly from STM32CubeIDE.

The problem is when I try to Run or Debug it, I get this message:

Refused_HC_1-1769765265507.png

If anyone can help me I would appreciate it.

Much thanks in advance.

 

 

5 REPLIES 5
Ghofrane GSOURI
ST Employee

Hello @Refused_HC 

Let's try to clean and rebuild your project by following those steps:

In STM32CubeIDE : right click on your project and then clean project as shown below

GhofraneGSOURI_0-1769765832650.png

Then rebuild your project , confirm that the build generates an .elf file

Finally launch your debug session.

THX

Ghofrane

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.

Thanks Ghofrane, but cleaning the project I still get the same error.

Hello @Refused_HC 

Could you please provide your IOC so that I can test it? 

THX

Ghofrane

 

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.

Andrew Neil
Super User

It looks like your Debug Configuration is wrong - it is trying to use .cproject as the executable.

The executable name should be <project-name>.elf

 

PS:

Like this:

AndrewNeil_0-1770053325021.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hello @Ghofrane GSOURI here I attach the .ioc file. Thanks.