2018-06-24 01:47 PM
Hi,
When I compile a project, I get an error: '.\Objects\uygulama1.axf' - 1 Error(s), 0 Warning(s). Target not created. Then I click Download, I get an error: 'Flash Download failed - Could not load file'
I tried to solve many times and searched on the internet, however it couldn't help me to fix the issue.
I wonder why Keil can not make xxx.axf file. I use
MDK-ARM Version 5.25
I also have a project which has an .axf file. On my project, .axf the couldn't found. So I copied the file from the project I have. I renamed the .axf file as 'uygulama1.axf'. This clearly worked.
But I would like to fix the issue for the next projects.
You can see the issue screenshots below.
Thanks in advance.
#flash-download-failed #target-not-createdSolved! Go to Solution.
2018-06-30 07:48 AM
Thank you for the attention
Turvey.Clive.002
I tried your solution. But I couldn&39t fix it.
I tried another ways to fix. Eventully i fixed it: Options-> C / C + + -> preprocessor Symboles the Define: Enter USE_STDPERIPH_DRIVER instead of USE_STDPERIPH_dRIVER, STM32F4XX, HSE_VELUE=8000000
This way helped me to fix the issue.
2018-06-24 01:54 PM
Says the link failed because you are missing a symbol.
Turn off asserts, or add the code it needs into main.c
#ifdef USE_FULL_ASSERT
/** * @brief Reports the name of the source file and the source line number * where the assert_param error has occurred. * @param file: pointer to the source file name * @param line: assert_param error line source number * @retval None */void assert_failed(uint8_t* file, uint32_t line){ /* User can add his own implementation to report the file name and line number, ex: printf('Wrong parameters value: file %s on line %d\r\n', file, line) *//* Infinite loop */
while (1) { }}#endif2018-06-30 07:48 AM
Thank you for the attention
Turvey.Clive.002
I tried your solution. But I couldn&39t fix it.
I tried another ways to fix. Eventully i fixed it: Options-> C / C + + -> preprocessor Symboles the Define: Enter USE_STDPERIPH_DRIVER instead of USE_STDPERIPH_dRIVER, STM32F4XX, HSE_VELUE=8000000
This way helped me to fix the issue.
2019-08-21 11:08 PM
Go to Options->Output at the end of Name of Executable add .axf
This way helped me to fix same issue.
2020-05-16 09:55 PM
@IGard
Thank you for the solution it worked perfectly with me.
little bit trouble in finding options tho so no more trouble
in KEIL go to Project --> Options for target 'your project name' --> Output --> Name of Executable just add .axf after your project name.8)