08-18-2020 03:02 PM
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:
They all return the following error:
[ 1582.821962] Synchronous External Abort: synchronous external abort (0x92000010) at 0x0000007fa6332000
All other registers seem to work fine. Any idea what is going on?
08-21-2020 08:36 PM
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.
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.
08-23-2020 08:06 AM
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.
08-23-2020 05:57 PM
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
Don't forget to reply, Kudo, and Accept as Solution.