This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ERROR:Flash Download failed - could not load file

hi everyone

I'm using keil 5 for stm32 i have problems fist while building my project these black windows comes for 1 second:

second when i want to load my project i have this error : 

ERROR:Flash Download failed - could not load file

'C:\Users\..............'

when i delete keil and install it again The problem solves but after few days i have the error again.i dont know what is wrong with it.

i'm also using stmcubemx to tranfer data to keil.

  • Hello,

    A: The recommended path to install Keil MDK is: C:\Keil_V5

    B:  The error C9511E occurs when the tools cannot determine which toolkit you have configured them to be used with.

    Check that the Arm Compiler is correctly configured with the toolkit you are using, for example, Keil MDK.

    You might need to set the ARM_TOOL_VARIANT and ARM_PRODUCT_PATH environment variables.

    See the article on product and toolkit configuration for additional information.

    C: There are existing example projects for the STM32-series, offered by the Pack Installer: https://www2.keil.com/mdk5/packinstaller 

    Compare, by building one of these examples if your settings are fine.