Hopefully someone can help me, we have been using a DPX2 now for over a month to begin with it was fine we could connect to our ar0231 camera perfectly with no problems. A few weeks ago however, The connection could no longer be established. It is worth mentioning that the setup had not changed in anyway (the cameras were not unplug/swapped etc) we just came in one morning powered up the PX2 and could no longer connect to the camera. Initially we thought it was a problem with the camera so we returned it to leopard imaging who ran a number of tests on it all of which passed (both in a windows environment, using their GMSL to USB adapter and using their DPX2). They informed me that they had experienced similar issues in the past where all of a sudden the connection would stop working, they said that they fixed it by updating to the latest firmware (4.1.8.0). So I flashed our DPX2 to 4.1.8.0 and aurix 2.02.04 using Drive install however the connection problems still remain.
So far we have tried:
Flashing the unit with FW 4.1.4.0, 4.1.6.1 & 4.1.8.0
Connected the camera to all 12 of the GMSL connectors
Tried all of the example programs which support the ar0231 sensors
Tried our own in house software which uses the NVmedia IPP interface
Ordered an additional camera to check (this showed the same issue)
Used different cables
None of which solved the connection issue. Has anyone experienced similar problems? are they anymore troubleshooting methods that we can try?
Thanks!
Edit: Forgot to mention it’s the autoChauffeur unit
Log created using “sample_GMSL_camera”:
nvidia@nvidia:/usr/local/driveworks-0.3/bin$ ./sample_camera_gmsl --camera-type=ar0231
Program Arguments:
--camera-type=ar0231
--csi-port=ab
--fifo-size=3
--offscreen=0
--serialize-bitrate=8000000
--serialize-framerate=30
--serialize-type=h264
--slave=0
--write-file=
Initialize DriveWorks SDK v0.3.422
Release build with GNU 4.9.2 from v0.3.1-rc2-0-g0475f26 against PDK v4.1.6.3
SDK: Resources mounted from /usr/local/driveworks-0.3/data/resources
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SDK: iGPU has been detected as device number 0
SDK: Default GPU Device set to device number 0
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> camera.gmsl, camera-type=ar0231,csi-port=ab,fifo-size=3,offscreen=0,serialize-bitrate=8000000,serialize-framerate=30,serialize-type=h264,slave=0,write-file=,output-format=yuv
CameraGMSL: required FPS = 30, resolution = 1920x1208
receive_from: Timeout Error.
Please check Ethernet ip configuration or
check Aurix firmware version
iscRootDevOpen: Failed to power on camera(s)
NvMediaISCRootDeviceCreate: Unable to open root device
nvmedia: ERROR: Init: Failed to create NvMedia ISC root device
Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
Cannot create driver: camera.gmsl with params: camera-type=ar0231,csi-port=ab,fifo-size=3,offscreen=0,serialize-bitrate=8000000,serialize-framerate=30,serialize-type=h264,slave=0,write-file=,output-format=yuv
Error: DW_SAL_CANNOT_CREATE_SENSOR
Sorry for late reply.
Could you please help to check the following and provide logs? Thanks.
On Aurix Console
a. Check output of “version” command and “status” command , below should be the default IP address set in Aurix
i. IP-address (Tegra-A): 10.42.0.28
ii. IP-address (Tegra-B): 10.42.0.29
iii. IP-address (AURIX): 10.42.0.146
On Target Console (Tegra A) check the following
b. nvidia@nvidia:/usr/local/driveworks-0.3/bin$ cat /etc/nvidia/version-nv-pdk.txt
4.1.8.0-9387945
c. nvidia@nvidia:/usr/local/driveworks-0.3/bin$ cat /etc/tacp/tacp.cfg
AURIX_IP_ADDRESS=10.42.0.146
TEGRA_A_IP_ADDRESS=10.42.0.28
TEGRA_B_IP_ADDRESS=10.42.0.29
TEGRA_IP_ADDRESS=10.42.0.28
AURIX_SERVER_PORT=5000
drive-px2-a=eth0.200
drive-px2-b=eth0.200
drive-px2-autocruise=lo
RECEIVE_TIMEOUT_S=5
RECEIVE_TIMEOUT_US=0
SPI_RECEIVE_TIMEOUT_US=1000000
Here IP’s should match for Aurix and Tegra
3) In case IP’s are correct try pinging Aurix from Tegra Console and check for packet loss
• Ping 10.42.0.146
Clearly there is mismatch of Aurix version Below see ORANGE highlighted area
, please change aurix IP to default as per below GREEN text
.
a. Check output of “version” command and “status” command , below should be the default IP address set in Aurix
i. IP-address (Tegra-A): 10.42.0.28
ii. IP-address (Tegra-B): 10.42.0.29
iii. IP-address (AURIX): 10.42.0.146
2) On Target Console (Tegra A) check the following
b. nvidia@nvidia:/usr/local/driveworks-0.3/bin$ cat /etc/nvidia/version-nv-pdk.txt
4.1.8.0-9387945
c. nvidia@nvidia:/usr/local/driveworks-0.3/bin$ cat /etc/tacp/tacp.cfg