C51 Installation

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

You will be asked to fill out a form; just fill it out simply, then click the downloaded exe installation package to begin installation.

  1. After entering the installer, click through and confirm. For the installation location, I chose to install it on the D drive instead of the default C drive.

C51 Installation Location

  1. Finally, click Finish to complete the installation.

MDK Installation

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

  1. First, visit the official website to download the MDK installation package.

  2. During installation, set the installation location according to the location where C51 was installed.
    MDK Installation Location

  3. 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 site seems not to offer a direct download for this version anymore, you will need to extract the v5 compiler from an older version of Keil. Below are links to pre-extracted compilers that you can download directly:

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

Compiler Extraction Directory

Open Keil, create a new project, and then click this button File Extensions, Books and Environment…

File Extensions, Books and Environment...

Then click Folder/Extensions, and click the button next to Use ARM Compiler.

Use ARM Compiler

Click Add another ARM Compiler Version to List, and select the path where you unzipped the ARMCC files.

Add another ARM Compiler Version to List

After saving, the installation is complete.

References