Bus error as accessing 0x03520088

Hi

Followed NX Tuning guide to access Xavier USB register
and got Bus error as reading XUSB_PAFCTL_USB2_OTG_PADx_CTL_1_0

However, reading XUSB_PAFCTL_USB2_OTG_PADx_CTL_0_0 worked.

Is it normal?
Did I miss any?

Here is the message.
root@nvidia-desktop:/home/nvidia# devmem2 0x03520088
/dev/mem opened.
Memory mapped at address 0x7f91691000.
Value at address 0x3520088 (0x7f91691088): 0x6CC88D2
root@nvidia-desktop:/home/nvidia# devmem2 0x0352008c
/dev/mem opened.
Memory mapped at address 0x7fb354d000.
Bus error (core dumped)
root@nvidia-desktop:/home/nvidia# devmem2 0x035200cc
/dev/mem opened.
Memory mapped at address 0x7fb0a3b000.
Bus error (core dumped)
root@nvidia-desktop:/home/nvidia# devmem2 0x0352010c
/dev/mem opened.
Memory mapped at address 0x7f7fbbf000.
Bus error (core dumped)
root@nvidia-desktop:/home/nvidia# devmem2 0x03520284
/dev/mem opened.
Memory mapped at address 0x7f9b3b2000.
Bus error (core dumped)
root@nvidia-desktop:/home/nvidia#

Thank you,

Use devmem from busybox instead of devmem2.

Hi WayneWWW,

Thank you so much for your prompt support.
It works.

May I check again?

  1. use busybox devmem to access XUSB_PADCTL_USB2_OTG_PADx_CTL_1_0 of Xavier NX

2.use devmem2 to access XUSB_PADCTL_USB2_OTG_PADx_CTL_1_0 of agx Xavier

Please correct me, if I missed up.

Thank you,

I think you can all use devmem from busybox.

Ok. Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.