Keil Installation

Words 408
Views
Visitors

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 the manual configuration for the license issue of the latest v6 compiler

The latest version no longer works with the method below. The v6 version of ARMCC can be used normally, but the v5 version prompts that there is no license. It is recommended to find the v5 version of the MDK installation package to install. For the v6 version, it is recommended to use the VSCode plugin

C51 Installation

  1. First, go to the official website and click to download C51

Here you will be asked to fill out a form, just fill it out briefly, and then click the downloaded exe installation package to install

  1. After entering the installation, confirm all the way. When choosing the installation location, I chose to install it on the D drive instead of the default C drive.

C51 Installation Location
C51 Installation Location

  1. Finally, click Finish to complete the installation successfully

MDK Installation

The two software, Keil’s MDK and C51, can coexist, and the installation steps are similar.

  1. First, still visit the official website to download the MDK installation package
  1. After entering the installation, fill in the installation location like this, and change it according to the C51 installation location

    MDK Installation Location
    MDK Installation Location

  2. Finally, click Finish to complete the installation successfully

Note: Do not reverse the installation order of C51 and MDK

v5 Compiler

First, download the v5 compiler. Because the official website no longer seems to provide a direct download channel, you can only download a previous version of Keil to extract the v5 version of the compiler. Here is the extracted compiler that can be downloaded directly

After downloading, extract it to the D:\Keil_v5\ARM directory

Compiler Extraction Directory
Compiler Extraction Directory

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

File Extensions, Books and Environment...
File Extensions, Books and Environment...

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

Use ARM Compiler
Use ARM Compiler

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

Add another ARM Compiler Version to List
Add another ARM Compiler Version to List

After saving, it’s successful

References