cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
302 Views
Registered: ‎02-26-2020

Can't access PMU Registers on ZCU111

Hi. I'm running Petalinux on a ZCU111. I'm trying to access the PMU registers from SW (PMU_GLOBAL,PMU_IOMODULE, PMU_LOCAL) , and I get a bus error. So, I've tried accessing them from the Linux terminal by running: 

devmem 0xFFD80000
or 
devmem 0xFFD80004

They all return the following error: 
[ 1582.821962] Synchronous External Abort: synchronous external abort (0x92000010) at 0x0000007fa6332000
Bus error

All other registers seem to work fine. Any idea what is going on? 

Thank you. 

Alin

0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
243 Views
Registered: ‎11-05-2019

 

Hi @alin_gtri1 

 

We might be able to give you some advice if you explain

 the purpose of accessing the PMU,

 how you created the design and Boot Image,

 and which version of Vivado or Petalinux you are using.

 

Thank you


Please mark the Answer as Accept as Solution if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

0 Kudos
Visitor
Visitor
172 Views
Registered: ‎02-26-2020

Hi. Thanks for your response. 

I'm trying to access the PMU to read various status registers and make sure everything is ok. The SW seems to be running fine, but still want the flexibility of accessing the PMU registers. 

We're using Petalinux 2018.2, Vivado 2018.2

We've followed the Xilinx recommendations on creating the petalinux and boot images. Again, everything seems to work fine, except for accessing the PMU registers. 

Alin

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
144 Views
Registered: ‎11-05-2019

 

Hi @alin_gtri1 

 

The access example of PMU global registers is described in "CSU/PMU Register Access" of UG1137. I hope it meets your requirements.

UG1137 - Zynq UltraScale+ MPSoC: Software Developers Guide

 

Thank you


Don't forget to reply, Kudo, and Accept as Solution.

 

0 Kudos