cancel
Showing results for 
Search instead for 
Did you mean: 

Program file does not exist, launching project.elf has encountered a problem

Sbhy.2
Associate

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.

2 REPLIES 2

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.

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.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..