Before accessing the Performance Monitor Registers (PMR) both Internal Debug Mode (IDM) and Performance Monitor Interrupt (PMI) bits must be set in the External Debug Resource Allocation Control (EDBRAC0) register. See the EDBRAC0 register structure below:
The default value for EDBRAC0 register is 0x180 (bits PMI and MPU set).
To be able to write to PMR, you have to set the IDM bit:
1. Open Hardware menu / CPU Options / <Core>.
2. Type in the JTAG debug select field value 0x40000180. This can be done for each core.
Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.