Skip to content

Commit 5f5010d

Browse files
Update path to FVP
1 parent 07111e6 commit 5f5010d

File tree

1 file changed

+13
-1
lines changed
  • content/learning-paths/microcontrollers/coverage_mdk

1 file changed

+13
-1
lines changed

content/learning-paths/microcontrollers/coverage_mdk/mdk.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,19 @@ Open the project in MDK, and build.
2727

2828
By default, this project uses the legacy simulator provided with MDK, which does not support code coverage.
2929

30-
To run on the FVP, open Options for Target ![Options for Target Icon](images/b_target_options.png), navigate to `Debug` pane, and select `Models Cortex-M Debugger` from the `Use:` pull-down. Click `Settings`, and under `Command`, browse for one of the supplied FVPS in the `ARM\FVP\` folder of your MDK installation (eg `FVP_MPS2_Cortex-M3_MDK.exe`).
30+
To run on the FVP, open Options for Target ![Options for Target Icon](images/b_target_options.png), navigate to `Debug` pane, and select `Models Cortex-M Debugger` from the `Use:` pull-down.
31+
32+
Click `Settings`, and under `Command`, browse for one of the supplied FVPs in the `Keil_v5/ARM/avh-fvp/bin/models` folder of your MDK installation (eg `FVP_MPS2_Cortex-M3_MDK.exe`).
33+
34+
{{% notice Older MDK versions %}}
35+
Depending on the version of MDK you have installed the path to FVP executable may differ.
36+
37+
MDK versions before 5.37: Keil_v5/ARM/FVP
38+
39+
MDK versions 5.38, 5.39: Keil_v5/ARM/VHT
40+
41+
MDK version 5.40 or later: Keil_v5/ARM/avh-fvp/bin/models
42+
{{% /notice %}}
3143

3244
Specify a `Coverage File`, and enable `Load` and `Store` of that file. Because of the way that the data is created, code coverage cannot be updated in real-time.
3345

0 commit comments

Comments
 (0)