Reading CSI Registers

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
[v] DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[v] Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
[v] NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.8.0.10363
other

Host Machine Version
native Ubuntu 18.04
[v] other

Hi NVIDIA expert.

When I read the register using below script on DRIVE OS Linux 5.2.6, Drive target was crashed.
Could you let me know how to read CSI registers correctly?
Here is the script I’m using:

#!/bin/sh
echo on > /sys/devices/platform/host1x/13e10000.host1x:nvcsi@15a00000/power/control
echo on > /sys/devices/platform/host1x/15c10000.vi/power/control
echo 1 > /sys/devices/platform/host1x/13e10000.host1x:nvcsi@15a00000/acm/force_on
echo 1 > /sys/devices/platform/host1x/15c10000.vi/acm/force_on

devmem2 0x15a0009c
devmem2 0x15a000a0

Thanks

Dear @byoungsoo.noh,
Could you check Nvmimg_cc CSI debugging if it helps.

Hi SivaRamaKrishnaNV.

I saw the page already.
But the OS version on the page is 5.1.6. I’m using 5.2.6.
There is no “15a00000.nvcsi” directory on 5.2.6. Instead I can find ‘13e10000.host1x:nvcsi@15a00000’.

And There is no explanation for target crash.

Please take a look for this again.

Thanks.

You see the crash issue in issuing which command? Will running with sudo help?

Dear @byoungsoo.noh,
May I know why you want to read CSI registers?
I could also reproduce the crashing on target. The CSI/VI registers seems to be not accessible in DRIVE OS 5.2.6. This is documentation issue.