Timeline
Timeline
2025-01-31
init
2025-08-07
add tip warning
This article introduces the installation steps for C51 and MDK in Keil software, as well as manual configuration for the license issue of the latest v6 compiler
The latest method below no longer works. The v6 version of ARMCC can be used normally, but the v5 version prompts no license. It is recommended to find the v5 version of the MDK installation package to install, and for the v6 version, it is recommended to use the VSCode plugin
C51 Installation
- First, go to the official website and click to download C51
Here you will be asked to fill out a form. Just fill it in briefly, then click the downloaded exe installation package to install
- After entering the installation, confirm all the way. When choosing the installation location, I choose to install to drive D instead of the default drive C.

- Finally, click Finish to complete the installation
MDK Installation
Keil’s MDK and C51 can coexist, and the installation steps are similar.
- First, still visit the official website to download the MDK installation package
After entering the installation, fill in the installation location like this, and change it according to the installation location of C51

MDK installation location Finally, click Finish to complete the installation
Note: Do not reverse the installation order of C51 and MDK
v5 compiler
First, download the v5 compiler. Since the official website no longer seems to provide a direct download channel, you can only download a previous version of Keil and extract the v5 compiler. Here, an already extracted compiler is available for direct download
After downloading, extract it to the D:\Keil_v5\ARM directory

Open Keil, create a new project arbitrarily, and then click this buttonFile Extensions, Books and Environment…

Then clickFolder/Extensions, clickUse ARM Compilerthe button next to it

Click theAdd another ARM Compiler Version to List, select the ARMCC path you just extracted

After saving, it is successful