🎉 We're happy to announce new public releases 🎉

  • SmartCode v10.4r1 - Take advantage of all the benefits our tools have to offer and build your applications with the latest version
  • TriCore v6.3r1 Inspector v1.0r8 - Save time and detect known issues before they get into your application
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?