User manual
STice features UM0036
270/385 Doc ID 7705 Rev 11
Figure 204. Code coverage and profiling settings window
You can select the frequency of the profiler time counter from the following values:
– 12.5 MHz
– 25 MHz
– 50 MHz (default)
– 100 MHz
It is advised to use a profiler frequency which is at least 3 times higher than the
frequency of the microcontroller.
To have more precision, increase the frequency of the profiler time counter. Conversely,
to have a longer recording time of program execution, decrease the frequency of the
profiler time counter.
Note: This section is disabled if you have selected Data coverage and occurrence profiling in
the previous step.
4. Decide whether you want to stop the application execution and profiling session when a
counter reaches the maximum value or when the application is reset. When all options
are enabled, the profiling session stops when any one of the conditions is met.
– Place a checkmark in the Stop when an occurrence counter reaches max
checkbox in the General section, to stop the execution when any one of the
occurrence counters reaches the maximum value. Instruction execution
occurrences are recorded in a large counter. You can configure the data read/write
occurrence counters as described in step 5. Once the application is stopped, the
user has to click on Profiling Session Stop to stop the session. Note that if you