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:
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
08-21-2020 08:36 PM
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.
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.
Alin
08-23-2020 05:57 PM
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.