I’m trying to use PCIe to communication between two xaviers. One is in the default mode (root complex). Another is configured as endpoint mode.
After doing all the stuffs in post:
The rc-xavier can recognize the ep-xavier:
- Screenshot for command "lspci"on rc-xavier:
- Screenshot for command "dmesg"on ep-xavier:
And according to https://devtalk.nvidia.com/default/topic/1039469/jetson-agx-xavier/how-another-cpu-communicate-with-xavier-through-pcie-solved-/post/5301264/#5301264, I was trying to use tegra-pcie-ep-mem.c to test the endpoint device.
Then I run the command below on rc-xavier:
sudo cat /sys/kernel/debug/tegra_pcie_ep/write
And an error returns: “Input/output error”
And the dmesg information is:
Do I need to write a kernel driver for “endpoint test function” in ep-xavier side? Or anything else I need to do in ep-xavier side?