Entron F008A120BM0A camera with Xavier

Hi,
I am trying to connect the Entron F008A120BM0A camera to xavier dev board but am getting the following error:

./nvmimg_cap -v 2 -cf ddpx-a.conf -c SF3324-CSI-A
nvmedia: Using params set: SF3324-CSI-A for capture
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
nvmedia: ERROR: WriteArray: MAX96712: error: wri2c   0x0C    0x08
nvmedia: ERROR: SetupConfigLink: Failed to enable packet based control channel
nvmedia: ERROR: Init: Failed to setup config link
nvmedia: ERROR: CaptureInit: Failed to initialize ISC devices
nvmedia: ERROR: CaptureInit: Failed to initialize Capture
nvmedia: ERROR: main: Failed to Initialize Capture
nvmedia: CaptureSuspend: done
nvmedia: CaptureFini: CaptureFini done

The sekonix camera that came with the dev kit works fine. Do I need to edit ddpx-a.conf file for the entron camera? If so, what are the changes that I need to make?

Dear @anurag08upx,
The list of supported sensor and contact information is given at https://developer.nvidia.com/drive/ecosystem-hw-sw. Could you please check with entron on this issue.

I have compiled some more detail about the issues we are experiencing.

Dev Kit:

We are using a E3550 board
Attached an image of S/N at the bottom of the dev kit.

Software:

DRIVE Software 10.0 (rev.2)
DRIVE OS Linux 5.1.6.1

Camera:

Entron camera mode: F008A120BM0A (ON Semi AR0820 + LCE 120 FOV)
I have 1 camera connected to port A0 (green port on quad camera breakout cable)

Error:

We are using ipp_raw sample application to capture raw images. (I see the same errors when running img_cap sample application)

nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples/nvmedia/ipp_raw/x11$ ./nvmipp_raw -cf …/ddpx-a.conf
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
nvmedia: ERROR: WriteArray: MAX96712: error: wri2c 0x0C 0x08
nvmedia: ERROR: SetupConfigLink: Failed to enable packet based control channel
nvmedia: ERROR: Init: Failed to setup config link
nvmedia: ERROR: IPPInit: Failed to initialize ISC devices
nvmedia: ERROR: main: Error in IPPInit
[NvMediaIPPManagerDestroy:192] Bad parameter

Running the same command with sekonix camera:

nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples/nvmedia/ipp_raw/x11$ ./nvmipp_raw -cf …/ddpx-a.conf
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
MAX96712: Enable periodic AEQ on Link 0
MAX96705: Pre-emphasis set to 0xaa
Sensor AR0231 RCCB Rev7 detected!
Type “h” for a list of options

I contacted Entron, they say that the camera is supported and is working for them on the pegasus board.
Let me know if there is some more data that I can provide.

I’ve seen similar I2C write errors with SF3324-10X when the camera or cable is faulty. Replacing the camera and cable has fixed it.

ok thanks, let me try with a different Entron camera/cable.

Looks like Entron camera drivers are still not available with Drive OS 5.1.6.1

nvidia@tegra-ubuntu:~$ /usr/local/driveworks-2.2/bin/sample_camera_gmsl_raw --camera-type=ar0820-rccb-bae-f008a120bm0a
[02-09-2020 12:36:54] Platform: Detected DDPX - Tegra A
[02-09-2020 12:36:54] TimeSource: monotonic epoch time offset is 1599069450691398
[02-09-2020 12:36:54] PTP Time is available from NVPPS Driver
[02-09-2020 12:36:54] Platform: number of GPU devices detected 1
[02-09-2020 12:36:54] Platform: currently selected GPU device integrated ID 0
[02-09-2020 12:36:54] SDK: Resources mounted from /usr/local/driveworks-2.2/data/
[02-09-2020 12:36:54] SDK: Create NvMediaDevice
[02-09-2020 12:36:54] SDK: use EGL display as provided
[02-09-2020 12:36:54] TimeSource: monotonic epoch time offset is 1599069450691398
[02-09-2020 12:36:54] PTP Time is available from NVPPS Driver
[02-09-2020 12:36:54] Initialize DriveWorks SDK v2.2.3136
[02-09-2020 12:36:54] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v5.1.6.1
[02-09-2020 12:36:54] Initialize DriveWorks VisualizationSDK v2.2.3136
[02-09-2020 12:36:54] Initialize DriveWorksGL SDK v2.2.3136
[02-09-2020 12:36:54] SensorFactory::createSensor() -> camera.gmsl, output-format=raw+data,camera-type=ar0820-rccb-bae-f008a120bm0a,camera-group=a,format=raw,fifo-size=3,slave=0
[02-09-2020 12:36:54] CameraGMSL: Couldn’t set CameraGMSL setup thread sched params!
[02-09-2020 12:36:54] CameraGMSL: Create NvMediaIPPManager
[02-09-2020 12:36:54] CameraGMSL: required FPS = 30, resolution = 3848x2168
nvmedia: ERROR: ImgGetDevice: Can’t find driver for ref_max96712_9295_ar0820f008a120bm0a
[02-09-2020 12:36:54] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2020-09-02 12:36:54] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl_raw/main.cpp:178
Aborted (core dumped)

Supported sensors on our dev kit:

nvidia@tegra-ubuntu:~$ /usr/local/driveworks-2.2/bin/sample_sensors_info
[02-09-2020 12:39:20] Platform: Detected DDPX - Tegra A
[02-09-2020 12:39:20] TimeSource: monotonic epoch time offset is 1599069450691398
[02-09-2020 12:39:20] PTP Time is available from NVPPS Driver
[02-09-2020 12:39:21] Platform: number of GPU devices detected 1
[02-09-2020 12:39:21] Platform: currently selected GPU device integrated ID 0
[02-09-2020 12:39:21] SDK: Resources mounted from /usr/local/driveworks-2.2/data/
[02-09-2020 12:39:21] SDK: Create NvMediaDevice
[02-09-2020 12:39:21] egl::Display: found 1 EGL devices
[02-09-2020 12:39:21] egl::Display: use drm device: drm-nvdc
[02-09-2020 12:39:21] TimeSource: monotonic epoch time offset is 1599069450691398
[02-09-2020 12:39:21] PTP Time is available from NVPPS Driver
[02-09-2020 12:39:21] Initialize DriveWorks SDK v2.2.3136
[02-09-2020 12:39:21] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v5.1.6.1
Platform: OS_DRIVE_V5L - CURRENT:
Sensor [0] : can.socket ? device=can0[,fifo-size=1024]
Sensor [1] : can.aurix ? ip=10.0.0.1,bus={a,b,c,d}[,aport=50000,bport=60395][config-file=/path/to/EasyCanConfigFile.conf][,fifo-size=1024]
Sensor [2] : can.virtual ? file=/path/to/file.can[,create_seek,default_timeout_us,time-offset=0]
Sensor [3] : can.custom ? decoder-path=filepath.so[,<custom_args…>]
Sensor [4] : camera.gmsl ? camera-type={ar0231-rccb-bae-sf3324, ar0231-rccb-bae-sf3325, ar0144-cccc-none-gazet1},output-format={yuv+raw+data}[,slave={0,1}][,fifo-size={3…20}][,custom-board=0]camera-group={a,b,c,d},camera-count={1,2,3,4},[,camera-mask={0001|0010|0011|…|1111}][,warn-per-frame={0,1}]
Sensor [5] : camera.slave ? host=<ip_addr>,port=<tcp_port_num>,siblingIndex=,mode={fifo,mailbox},output-format={yuv+raw+data},camera-group={a,b,c},fifo-size={3…16}
Sensor [6] : camera.virtual ? video/file=filepath.{h264,raw,lraw}[,timestamp=file.txt][,create_seek][,time-offset=0][,isp-mode={yuv420_uint8,yuv420_uint16,yuv444-uint16}]
Sensor [7] : camera.usb ? device=0[,mode={0,a,b}]
Sensor [8] : camera.pointgrey ? device=0[,fps=30]
Sensor [9] : camera.nvidia-ip ? host=[ip_addr], port=[TCP port number]

I also found another ticket with the same issue: Entron F008A030BM0A camera

I believe you need to contact Entron, not NVIDIA, for the drivers for that camera.

Hi @anurag08upx, have Entron provided you any additional driver package for this?

No, I have not received any additional driver package from Entron