I have a project running on Cortex M0.
I want to perform code coverage using Keil on it.
I tried using COVERAGE command in command window, but it gave an error as follows -
COVERAGE *** error 76: command not supported
Also, I noticed in View->AnalysisWindow->Code Coverage is greyed out.
Can someone help and let me know if I'm missing out on something here.
Thanks and Regards.
Edit 1: I have a "MDK-ARM Standard" license via a FlexNet License.
Edit 2: I'm using a Ulink/ME Cortex Debugger
Are you using a free evaluation version ?
No, I'm using a FlexNet licensed version of Keil v4.
It states "MDK-ARM Standard".
Cody Coverage is offered for any MDK Edition, i.e. MDK-Lite:
Possible reasons for not being able to select Code Coverage are i.e.:
- Trace is disabled
- The target does not offer i.e. ETM trace
- A ULINK2 Debug Adapter in use
In case I switch over from Ulink2 to Ulink Pro, would that be sufficient to enable Code Coverage on Cortex M0 ?
Note, there is no ETM Trace with a Cortex-M0 selected.
View all questions in Keil forum