Program file does not exist, launching project.elf has encountered a problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 1:54 AM
Hello guys so i'm working with stm32F407 on atollic True studio and CubeMx. when i generate the code from cubeMx it works perfectly but when i add a source and a header file that i'm going to use in this project i can't debug the code anymore and an error occurs wich indicate that the .elf has encountered a problem. What can i do to fix this problem.
- Labels:
-
STM32CubeMX
-
STM32F4 Series
-
TrueSTUDIO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-23 3:57 AM
Hello Sbhy.2,
Could you please share your .ioc file and detail more the changes you have made in the code.
Does this error occur when generating code using other Toolchain/IDEs or uniquely using atollic True studio ?
BR,
Khouloud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-23 4:04 AM
Sound like the build process didnt complete, likely due to a linker error.
​
Should only need to add .C files to project, include files are found by the compiler base on the paths given. Include files only describe the interface for the functions, the source for the libraries, or a library containing precompiled functions, still needs to be added for the linker to get closure.​
Up vote any posts that you find helpful, it shows what's working..
