Keil Logo

SWPACK: Generate an MDK-ARM Project from a CPRJ file

Information in this knowledgebase article applies to:

  • MDK 5.22 - 5.29


I'd like to use the CMSIS project (cprj) description format, described in the CMSIS Pack standard, to generate projects from an xml file. I understand the implementation of the standard will be different, depending on the development environment. How do I use a CPSDC file to create a new MDK-ARM project?


Use "UV4.exe" from the command line and append the cprj file. See below.

Command line:
C:\Keil_v5\UV4\UV4.exe  C:\...\Arbitrary_File_Name.cprj

"C:\Keil_v5\" is the default installation location,
so user may have installed the tools to another folder.

This will launch the µVision IDE, generate a µVision project file, beside the CPDSC file, and open the new project. Make sure the file paths to any source files in the "files" tag of the CPDSC are relative to the location of the CPDSC file, so the new project can find source files that do not come from a pack. Close the project to completely save the generated project.

Note: Since MDK 5.30 the support for the toolchain independent project description format (*.cpdsc) is discontinued. This was previously described in CMSIS guide: Project Description (*.cpdsc) Format.


Last Reviewed: Friday, July 31, 2020

Did this article provide the answer you needed?
Not Sure
  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.