Debug memory map Cortex-A53 on LS1043A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debug memory map Cortex-A53 on LS1043A

1,930 Views
notshure
Contributor IV

Hello everyone,
i am working with QorIQ LS1043A.
I wanted to know if it is possible to read the contents of Table 11-26 (Address mapping for APB components, page: 424) of the addresses present in the Arm® Cortex®-A53 MPCore Processor Revision: r0p4 Technical Reference Manual. I would like to know the contents of the various CPU0 PMU, CPU1 PMU, CPU2 PMU and CPU3 PMU.
How you do it?
In the QorIQ LS1043A Reference Manual, Rev. 6, 07/2020, no reference is made to any of this.

0 Kudos
Reply
1 Reply

1,915 Views
ufedor
NXP Employee
NXP Employee

Please reference our developer.arm.com website for the information that is mentioned below:
  In order to access PMU, as mentioned <DDI0500F_cortex_a53_r0p4_trm.pdf>
==
12.2.4 PMU register interfaces The Cortex-A53 processor supports access to the performance monitor registers from the internal system register interface and a memory-mapped interface. External access to the performance monitor registers is also provided with the APB slave port.
==
Hence, to access PMU through internal system register, for example:

From TRM, it provides an example.
==
To access the PMCR in AArch32 Execution state, read or write the CP15 registers with: MRC p15, 0, <Rt>, c9, c12, 0; Read Performance Monitor Control Register MCR p15, 0, <Rt>, c9, c12, 0; Write Performance Monitor Control Register
==


And if you wish to access PMU register through APB slave port, then you would reference <DIT0036E_cortex_a53_r0p4_im.pdf> section 4. In that section, it guides customer to integrate CA53 with coresight subsystem. And please reference  <coresight_soc400_user_guide_100490_0302_01_en.pdf> section 7.8.1 cssys_upv8 example system, it shows that key path that made it possible to have internal route to access CA53's APB slave port. 

Its key block diagram is attached. As you can see there exist an internal path:
Processor --> AXI --> NIC--> system APB --> cxapbic --> CA53;s Debug APB slave port.

Hence, when you have CA53 integrate with coresight subsystem, the above path
Would be the way to access PMU through CA53 APB slave port.

0 Kudos
Reply