Arm Virtual Hardware  Version 2.2.0
Infrastructure
 
Loading...
Searching...
No Matches
Use with Keil Studio

This section explains how Arm FVPs can be used with Keil Studio for developing and debugging embedded applications on a local computer.

Tools Installation

Target selection

Keil Studio natively supports the Open-CMSIS-Pack format for device support and management of software components. See CMSIS-based projects for AVH FVPs for the list of the device family packs and BSP packs required for use with Arm FVPs.

  • When opening an existing csolution project in Keil Studio, all necessary packs for the target will be automatically installed.
  • When creating a new solution, you need to select a target device that corresponds to the Arm FVP model according to the table in CMSIS-based projects for AVH FVPs.

You can view the device name defined for the target in the project csolution.yml file, or by clicking the Manage solution settings button in the CMSIS view, as shown on the image below. Manage solutions explains the concept in details.

CMSIS Manage solution settings

vcpkg configuration

Keil Studio relies on the Arm Tools Environment Manager extension to setup the development environment from Arm Tools Artifactory using Microsoft vcpkg. The vcpkg manifest file vcpkg_configuration.json must contain the requirement for Arm FVPs models, in the same way as explained in Download with vcpkg. For example:

{
"registries": [
{
"name": "arm"
"kind": "artifact",
"location": "https://artifacts.tools.arm.com/vcpkg-registry"
}
],
"requires": {
"arm:models/arm/avh-fvp": "^11.30.29"
}
}

Note In Keil Studio other tools are usually also present for build and debug tasks such as CMSIS-Toolbox, a compiler toolchain, and others.

Build

Follow the instructions provided in the Build chapter in the Keil Studio User's Guide.

Run

In Keil Studio, you can run a program on the target without using the debugger. See Arm FVPs for steps how to configure this.