ARM Keil Eclipse Setup

Want to program an ARM Cortex M device? What’s a great method?

There are quite a few reference resources out there already, but here is my take on it.

ARM Dev board such as the STM32F4DISCOVERY which has a STM32F427
Keil uVision

You might want to use Keil’s uVision IDE, but I personally find the editor a bit lacking. I also found Eclipse to be a bit flakey at times. It crashes randomly and it’s quite fussy on the Java versions.

This tutorial assumes you’ve already installed uVision.

Step 1: Download Eclipse

Make sure you get the right bit version for your computer. If you’re running Win7 64bit, get the 64bit version.

Step 2: Get Java Runtime Environment
You’ll also need to download the Java version which too matches your OS architecture. 32bit/64bit Linux/MacOSX/Windows

Step 3:
Unzip Eclipse into a directory of your choice and install Java Runtime.

Step 4:
Run eclipse, you’ll want to download two plugins for Eclipse:
RealView ARM Plugin – this installs the ARM Toolchain options
uVision MDK plugin – which allows you to debug and flash the device using the uVision backend.

In eclipse, goto Help->Install New Software

In the update site, enter: update site:

Alternatively click add and enter the address:


This screen should come up. Select the latest version of RVDS.

Step 5:
You can now install the MDK Plugin:
Check out this link here.

You can get the under the eclipse folder of the Keil MDK installation folder.

Step 6:
In Eclipse goto Help->Install New Software
This time goto Add, select Archive and select the

Go ahead and install it.

Step 7:
You’re really done now, your eclipse setup can now handle the uVision dev toolchain. The great thing is, you can add extra configurations such as the gcc and gcc-debug to your eclipse project configurations. You can now develop all your code under the eclipse IDE but use either Keil’s armcc or GNU’s arm-gcc


Happy developing!