🎉 We're happy to announce a new public release ðŸŽ‰

  • Pin Mapper for AURIX v1.1r5 - A graphical tool for defining AURIX device port mapping and generation of device initialization code
Contact us to get access

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?