Skip to main content
hussien kazan
Associate II
July 13, 2018
Question

flash download error

  • July 13, 2018
  • 2 replies
  • 912 views
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
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
July 13, 2018
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
hussien kazan
Associate II
July 14, 2018
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.