Keil Logo

Use MDK Version 4 Projects

Projects that have been created in MDK Version 4 are support by MDK Version 5 in two different ways:

  1. With the MDK Version 4 Legacy Pack the device support is provided in the same way as in MDK Version 4. Existing projects can be therefore maintained without modifications.
  2. Projects can be converted to the MDK Version 5 project format to use Device Family Packs, which provide the device support as separate download, independent of the MDK Core. Projects that use Keil RTX or MDK Version 4 Middleware require still the installation of the MDK Version 4 Legacy Pack.

The file extension of the project file indicates the project format:

  • *.UVPROJ: MDK Version 4 project file.
  • *.UVPROJX: MDK Version 5 project file.

Device Support Files

In MDK Version 4 the device support and middleware is part of the MDK folder structure. The same folder structure is provided by the the MDK Version 4 Legacy Pack for using MDK Version 4 projects.

Folder Description
root\ARM\Flash\device Flash programming algorithm for various devices.
root\ARM\INC\vendor\device CMSIS-Core device header files.
root\ARM\Startup\vendor\device CMSIS-Core device startup and system files (copied to the project).
root\ARM\RL MDK Version 4 RTX and Middleware.

In MDK Version 5, the device support and middleware is provided as part of Software Packs.

With Select Software Packs it is possible to specify the version of a Software Pack for a project target. This selection is relevant for the software components, however, for the device support files itself the latest installed version of a Software Pack is used.

Migrate to Version 5 Project Format

With the menu Project - Manage - Migrate to Version 5 Format ... an existing MDK Version 4 project is converted to the new MDK Version 5 format. Loading an MDK Version 4 project file without the MDK Version 4 Legacy Pack opens a dialog box that offers also the conversion to the MDK Version 5 format. In case that the Device Family Pack for a device is missing, the Pack Installer is called to download the device support.

When an existing MDK Version 4 project is migrated to the MDK Version 5 format the device support files from the installed Device Family Pack is used. The CMSIS-Core files of the current Device Family Pack may be incompatible with the previous version of the system and startup code and other configuration settings of the previous MDK Version 4 project. In such situations modifications to the project are required and it is therefore recommended to select the Device - Startup software component from Device Family Pack using the Manage Run-Time Environment dialog.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.