cancel
Showing results for 
Search instead for 
Did you mean: 

can't able to compile and upload a code into microcontroller (STM32F401RE), through KEIL ARM MDK 5.38 version.

pcetp.1
Associate

while I upload a code through KEIL MDK software into STM32F401RE board, it has some error occurs like -missing compiler version 5 in stm32 Keil uvision 5, also when clicking to the flash download - pop up window occurs and say error to download into flash.

please provide me the proper procedure.

2 REPLIES 2
KDJEM.1
ST Employee

Hello @pcetp.1​ and welcome to the Community 🙂 ,

Please make sure that the STM32F401RE package is well installed into KEIL MDK.

Could you please share what errors did you found?

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

New releases of the MDK don't come with the 5.xx compilers, you either have to install them as some sort of legacy pack, or simply bring up the Project Options, and in the Target Tab change the "ARM Compiler" setting to "Use default compiler version 6"

It can be more fussy with the syntax checking / warnings, and might need the command line options cleaned up,but by and large should compile HAL code, and do so much faster.

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