cancel
Showing results for 
Search instead for 
Did you mean: 

flash download error

hussien kazan
Associate II
Posted on July 13, 2018 at 12:42

hello, 

      I compiled a simple adc single conv. code on keil v5 using stm32f4cube mx , it compile good on errors or warnings , but when i wanna load the code on my board stm32f407vg it gives me : 'flash download failed-Could not load file '........ .axf', ' .

     but for other codes it is loading successfully .  

#flash-download-error
2 REPLIES 2
Posted on July 13, 2018 at 20:19

The description of the problem is not super helpful...

Did it create the .AXF file? Look for linker errors, or file open somewhere else.

Correct debugger connected in options?

Have you tried configuring the debugger to 'connect under reset'?

Any code that might interfere with GPIOA or pins PA13/PA14 added recently?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on July 14, 2018 at 19:39

THANKS I noticed the problem , when i relocate the file some files was missing, so i regenerate the code in a different location and it loaded successfully.