Keil Logo

PC Sampling

The PC Sampling section defines the interval at which instrumentation trace data are generated. Apart from a periodic generation, PC Sampling can be produced for every memory read/write operation.

Target Driver Setup - PC Sampling

  • Prescaler sets the interval for generating PC Sampling.
  • Periodic enables PC Sampling at regular intervals.
  • Period displays the interval at which PC Sampling is generated. The interval is calculated by dividing the Prescaler through the Core Clock .
  • on Data R/W Sample generates PC Sampling for every memory read/write operation.

Note

  • If the Status Bar shows communication errors, disable PC Sampling or define longer intervals.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.