How to Download and Install Keil uVision for ARM and 8051

In this tutorial, we will explore what Keil IDE is, why it is used, and its best features. We will start with a brief but comprehensive introduction to Keil µVision and its uses. Following that, we will provide an online source for downloading the latest version of Keil, along with detailed instructions on how to download and install it. This is the second tutorial in a series on the Tiva LaunchPad. In the first tutorial, we introduced the Tiva LaunchPad.

Introduction to keil uVision 

Real-time environment, code building facility, source code editing, and code debugging are provided in a single powerful environment named Keil µVision IDE. It is used to accelerate your embedded software development and is an easy-to-use IDE. You can create individual window layouts anywhere on the visual surface using Keil µVision, and it also supports multiple screens.

You can easily download the latest version of Keil according to your requirements from online sources. Using the website given below, I will guide you on how to download and get started with the latest version of Keil µVision. Click on the link below and allow your PC to switch the current running app to the online browser.

Ho to download Keil uVision

Keil download source: https://www.keil.com. This will open the download page from ARM Keil official website as shown in the figure below:

1. Keil web pagde

From the list given at the top of this web page select download as shown in the figure below,

2 download Keil

When you click on this section the webpage giving the downloads option will appear as shown in the figure below,

3 download page Keil IDE

As is obvious from the description given under the name of each of the categories the product downloads will give you the setup of the Keil ide and the file downloads will provide you with some of the sample codes that are built and run on Keil.

Now, we need to download the IDE first and install it afterward so that we can implement our coding portion using this IDE the category we should select here is product downloads as shown in the figure below,

4 product download

When you click on this category the following webpage will appear as shown in the figure below,

5 product download webpage

As here we are interested in downloading an IDE for TIVA TM4C123G which a Cortex and ARM device hence we must download a developing environment for Cortex and ARM devices i.e. MDK-ARM.

This will show you a window asking you to fill out the form for your personal information only for the company record. The form that will be displayed is shown in the figure below,

6 MDK-ARM

Figure 6: MDK form

Fill out the form shown in the above figure and press submit this will show you a page showing the features and the setup file for MDK-arm as shown in the figure below,

7 after filling form
  • The mdk526.exe file shown in the figure above shows the setup file for the Keil u vision version 5.26 which is the latest version of Keil so far.
  • Click on the .EXE file at the bottom of the page as shown in the figure below, this file contains the setup of Keil.
Keil mdK-arm setup
  • After you click on the file your PC will ask you where to save the setup (.exe) file. Select the folder of designation where you want to save the file and hit enter as shown in the figure below,
9 setup saving

The size of the setup file is around 900Mb it will take some time to download in your PC from the online source. Wait for the download to complete before proceeding further.

After the download is complete the downloaded folder will be placed in the folder you designated it during the installation time as shown in the figure below:

Keil mdk folder

How to install keil uVision

The downloaded folder will already contain all the drivers needed to run the code and it also includes a pdf file that is the datasheet of the microcontroller TM4C123G as shown in the figure below:

datasheet

This data sheet also contains every little information about the microcontroller, its’ onboard pins, and also its libraries and alternate functionalities including all the addresses of each pin.

Now open the folder present inside the downloaded folder it will contain the setup file which needs to be installed.

The name of both the folders will be the same because the external folder was only the drivers and datasheet inclusion folder and the main mdk file is inside the second nested folder. Inside the nested folder, the files shown in the figure below are present.

12 setup folder

This folder present here includes the necessary drivers and libraries needed to run simple code in Keil IDE. These folders are necessary for the successful installation of Keil and the version you downloaded will automatically install all the necessary drivers you just have to keep them in the same folder.  From the folder select the setup file as shown in the figure below:

Keil setup file

Double-click on this file and the setup will start installing the necessary files for the IDE automatically. The setup will first ask for administrative permission to make the required changes in your PC.

Click yes and then the setup will show the window shown in the figure below:

welcome screen
  • This is the welcome screen and it only shows the features of the Keil version to be installed and the products that will be downloaded automatically along with the setup.
  • Simply click next and you don’t have to do anything else here. The next screen after clicking the next button that will appear on the setup window is shown in the figure below:
15 license agreement

This page is the license agreement page. On this page, you agree to the terms and conditions required by the company to agree to to use any version of any of the products launched by that company.

Check the highlighted arrow box as shown in the image above and click next to proceed with the installation part. The next window to have appeared is shown in the figure below:

16 folder selection
  • This window will ask you to select the folder where you want to install the Keil files, drivers, and libraries. Browse the designated folder where you want to place the libraries by clicking on the browse key and then click Next. The window that will appear after clicking the next key is shown in the figure below:
17 customer info

In this window, the setup will ask you to enter some necessary details i.e. personal information of the customer who is going to use the specified product to be installed here in the future.

It has nothing to do with the installation and is only for the companies’ records to keep track of how many people are using their launched product and what are the companies or institutions for which they are currently using the companies’ product.

Simply enter the first and last name of the (PC holder, most recommended), or the customer who is going to use the IDE. Enter the name of the company or institution you are currently working in and at the end enter your email ID and then click Next. The next window that will appear after clicking next is shown in the figure below:

Keil installation status

This is where the installation status of your product will be displayed. The setup process will take several minutes. You can minimize the app and let the setup install all the necessary drivers automatically.

The setup will automatically download all the required files; you need only to wait for the installation to complete. After all the drivers have been collected, the setup will ask for your permission to install them, as shown in the figure below:

19 installation agreement
  • This is where you give your consent that you want to install the IDE of Keil and the installation will begin.
  • After the installation is complete the setup window will ask you to finish the installation successfully as shown in the figure below:
finish  Keil IDE installation
  • After you finish the installation with the release note check box checked the setup will open the browser and show you the latest release of the notes of the Microcontroller Development kit (mdk) as shown in the figure below:
21 Release notes

Figure 21: Release notes

  • But if you uncheck the box before finishing the installation this page will not be displayed and you can check these updates anytime in the future using the link given below,
  • Release notes: file:///C:/Keil_v5/ARM/HLP/Release_Notes.htm
  • After that, a pac installer will open automatically and ask you for any updates you need now to install regarding the IDE. The pack installer is shown in the figure below,
21 pac installer

But as we have downloaded and installed the latest version of Keil all the required products will be up to date. Follow this tutorial to see how to write your first program with Keil uVision for Tiva LaunchPad.

Summary:

This tutorial covers the Keil IDE, including its purpose and key features. It provides a comprehensive introduction to Keil µVision, details on how to download the latest version, and step-by-step installation instructions. This tutorial is part of a series on the Tiva LaunchPad, with the first tutorial providing an introduction to the Tiva LaunchPad.

2 thoughts on “How to Download and Install Keil uVision for ARM and 8051”

Leave a Comment