Camera issues

Dear @SivaRamaKrishnaNV ,

I’m working on Tegra B so I will try on Tegra A at the end of the day and I will let you know.

Thanks!!

Dear @SivaRamaKrishnaNV ,

I only connect one SF3325 camera module to A0, and type your command this is what I had:

nvidia@tegra-ubuntu:/usr/local/driveix/bin$ ./IXCalibration --camera-type=ar0231-rccb-bae-sf3325
[19-05-2021 12:06:25] CameraGMSL: Couldn’t set CameraGMSL setup thread sched params!
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
nvmedia: ERROR: MAX96712CheckLink: Config link(0) is not locked
nvmedia: ERROR: SetupConfigLink: Failed to check config link lock 0, err = 1(Operation not permitted)
nvmedia: ERROR: Init: Failed to setup config link
[19-05-2021 12:06:26] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera

terminate called after throwing an instance of ‘std::runtime_error’
what(): [2021-05-19 12:06:26] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /dvs/git/dirty/gitlab-master_ix/copilot/sdk-cpp/calibration/sensor.cpp:106
Aborted (core dumped)

And this is what I got on tegra A with DW:

nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_gmsl --camera-type=ar0231-rccb-bae-sf3325
[21-09-2019 03:06:32] Platform: Detected DDPX - Tegra A
[21-09-2019 03:06:32] TimeSource: monotonic epoch time offset is 1569027511530791
[21-09-2019 03:06:32] PTP Time is available from NVPPS Driver
[21-09-2019 03:06:32] Platform: number of GPU devices detected 1
[21-09-2019 03:06:32] Platform: currently selected GPU device integrated ID 0
[21-09-2019 03:06:32] SDK: Resources mounted from …/./data/
[21-09-2019 03:06:32] SDK: Create NvMediaDevice
[21-09-2019 03:06:32] SDK: use EGL display as provided
[21-09-2019 03:06:32] TimeSource: monotonic epoch time offset is 1569027511530791
[21-09-2019 03:06:32] PTP Time is available from NVPPS Driver
[21-09-2019 03:06:32] Initialize DriveWorks SDK v2.2.3136
[21-09-2019 03:06:32] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v5.1.6.1
[21-09-2019 03:06:32] Initialize DriveWorks VisualizationSDK v2.2.3136
[21-09-2019 03:06:32] Initialize DriveWorksGL SDK v2.2.3136
[21-09-2019 03:06:33] SensorFactory::createSensor() → camera.gmsl, output-format=yuv,fifo-size=3,isp-mode=yuv420-uint8,camera-type=ar0231-rccb-bae-sf3325,camera-group=a,slave=0
[21-09-2019 03:06:33] CameraGMSL: Couldn’t set CameraGMSL setup thread sched params!
[21-09-2019 03:06:33] CameraGMSL: Create NvMediaIPPManager
[21-09-2019 03:06:33] CameraGMSL: required FPS = 30, resolution = 1920x1208
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
receive_from: Timeout Error.
Please check Ethernet ip configuration or
Update Aurix firmware version by the following command

sudo /bin/bash /etc/systemd/scripts/nv_aurix_check_fw.sh -auto_update

receive_from: Timeout Error.
Please check Ethernet ip configuration or
Update Aurix firmware version by the following command

sudo /bin/bash /etc/systemd/scripts/nv_aurix_check_fw.sh -auto_update

nvmedia isc: NvccpCamPowerControl: 535: NVCCP command failed with ret NVCCP_REQ_TIMEOUT
iscRootDevOpen: Failed to request ownership
NvMediaISCRootDeviceCreate: Unable to open root device
nvmedia: ERROR: Init: Failed to create NvMedia ISC root device
[21-09-2019 03:06:43] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera

terminate called after throwing an instance of ‘std::runtime_error’
what(): [2019-09-21 03:06:43] 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/main.cpp:174
Aborted (core dumped)

Dear @nida.rahman1,
Both Tegra A and Tegra B have same Drive release? As we discussed, The issue looks like Tegra -Aurix communication. Please check reflashing Aurix FW on board. Or check with another camera to see if it is issue with camera module?

1 Like