cancel
Showing results for 
Search instead for 
Did you mean: 

Elf created but STM32CubeIDE cannot find

ron_w
Associate III

Hello

I've created a project that has created an elf file:

0693W00000F9xT5QAJ.jpg 

However, when I run debug on STM32CubeIDE I get the following message:

0693W00000F9xTFQAZ.jpg 

Can anyone advise, please? I've not had this problem before with STM32G071, but am trying with STM32F413.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Go into Run -> Debug Configurations... and make sure it's pointing to the right ELF in the "C/C++ Application" field. Hit "Search Project" and ensure it exists.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
Javier1
Principal

Are you building in release or in debug mode?

0693W00000F9zDPQAZ.png

we dont need to firmware by ourselves, lets talk
TDK
Guru

Go into Run -> Debug Configurations... and make sure it's pointing to the right ELF in the "C/C++ Application" field. Hit "Search Project" and ensure it exists.

If you feel a post has answered your question, please click "Accept as Solution".
ron_w
Associate III

Hello, Thanks Javier and @TDK for your replies.

I'm working in Debug mode and got STM32CubeIDE to accept the ELF.

The first step was indicated by TDK by (Run -> Debug Configurations...) [note: ensure that CubeIDE only has one project open, the one that is requiring this modification].

This showed 'C/C++ Application' being empty:

0693W00000FARYAQA5.jpgPressing 'Search Project...' gave the following:

0693W00000FARYoQAP.jpgDouble clicking on the ELF filled in the missing file:

0693W00000FARYtQAP.jpg