diff --git a/content/learning-paths/microcontrollers/coverage_mdk/mdk.md b/content/learning-paths/microcontrollers/coverage_mdk/mdk.md index f823e83849..e3ab570a19 100644 --- a/content/learning-paths/microcontrollers/coverage_mdk/mdk.md +++ b/content/learning-paths/microcontrollers/coverage_mdk/mdk.md @@ -27,7 +27,19 @@ Open the project in MDK, and build. By default, this project uses the legacy simulator provided with MDK, which does not support code coverage. -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`). +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 `Keil_v5/ARM/avh-fvp/bin/models` folder of your MDK installation (eg `FVP_MPS2_Cortex-M3_MDK.exe`). + +{{% notice Older MDK versions %}} +Depending on the version of MDK you have installed the path to FVP executable may differ. + +MDK versions before 5.37: Keil_v5/ARM/FVP + +MDK versions 5.38, 5.39: Keil_v5/ARM/VHT + +MDK version 5.40 or later: Keil_v5/ARM/avh-fvp/bin/models +{{% /notice %}} 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.