How to acess VI register such as VI_CSIMUX_CONFIG_STREAM_0

Hello, Nvidia support team,

I am trying to use the devmem2 tool to access VI-related registers, such as VI_CSIMUX_CONFIG_STREAM_0, but I am not getting the expected results. The devmem2 tool prompts a “Bus error”. Could it be that I have not identified the correct base address or is there another issue? I have tried the base addresses 0x15c00000 and 0x14c00000, but I still cannot access the registers. I have also tried the offset (0x1109) and byte offset (0x4424), but I still cannot read or write successfully.

smartsens@smartsens-desktop:~/Documents/ds300_imgcapser$ sudo devmem2 0x14c0442c
/dev/mem opened.
Memory mapped at address 0xffffbed62000.
Bus error
smartsens@smartsens-desktop:~/Documents/ds300_imgcapser$ sudo devmem2 0x15c0442c
/dev/mem opened.
Memory mapped at address 0xffff86e9f000.
Bus error
smartsens@smartsens-desktop:~/Documents/ds300_imgcapser$ sudo devmem2 0x14c0110b
/dev/mem opened.
Memory mapped at address 0xffff912d5000.
Bus error
smartsens@smartsens-desktop:~/Documents/ds300_imgcapser$ sudo devmem2 0x15c0110b
/dev/mem opened.
Memory mapped at address 0xffff8f6aa000.
Bus error

Need to disable the firewall. Have reference to below link.

The firewall is already turned off, and those two lines have been commented out and the system reflashed, but the issue persists

You need open camera to power on the NVCSI/VI then to access the REG.

Yes, I was operating on stream-2 port-2 while it was streaming normally, but I still couldn’t access the registers. Using sudo devmem2 0x15c00000 can read the data correctly, but trying to read from 0x15c01109-0x15c0110e or 0x15c04424-0x15c04438 did not work; I tried reading from these addresses, but it didn’t succeed.

Check the kernel if any firewall message.

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