Elf created but STM32CubeIDE cannot find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-22 12:37 AM
Hello
I've created a project that has created an elf file:
However, when I run debug on STM32CubeIDE I get the following message:
Can anyone advise, please? I've not had this problem before with STM32G071, but am trying with STM32F413.
Thanks
Solved! Go to Solution.
- Labels:
-
DEBUG
-
STM32CubeIDE
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-22 6:14 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-22 2:02 AM
Are you building in release or in debug mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-22 6:14 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-26 1:32 AM
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:
Pressing 'Search Project...' gave the following:
Double clicking on the ELF filled in the missing file:
