🎉 TriCore v6.3r1p10 available! We're happy to announce the public patch release of TASKING VX-toolset for TriCore v6.3r1p10. Contact us

NXP/ST Power Architecture / SPC58: Accessing Performance Monitor Registers (PMR)

27-May-2025

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). 


Possible solution

To be able to write to PMR, you have to set the IDM bit:

1. Open Hardware | CPU Options | <Core>.

2. Type in the JTAG debug select field the value 0x40000180. This can be done for each core.


Was this answer helpful?