Nvmedia: ERROR: MAX96712: Register 0x0006 I2C read failed with status 7

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.7.0.8846
other

Host Machine Version
native Ubuntu 18.04
other

Hi,

We experienced the following nvmedia camera related errors,
after the error happened the related cameras does not send new image frames.
This error happens after variable number of frames grabbed successfully (100 - 1600).
We saw this error on all of the three camera groups that has camera connected to it.

group A IMX490 on GMSL link: 3
group B IMX390 on GMSL link: 0
group B IMX390 on GMSL link: 1
group C IMX390 on GMSL link: 2

Can you help us to find the root cause of this problem?

MAX96712: Revision 4 detected
MAX96712: SetCMU2Default
MAX9295: Revision 8 detected!
Sensor IMX490 Rev 5 RGGB detected!
Module_id 22 Severity 6 : NvMediaICPCreateEx 76
Module_id 22 Severity 6 : T19x VI version  0x000019
MAX96712: Revision 4 detected
MAX96712: SetCMU2Default
MAX9295: Revision 8 detected!
Sensor IMX390 Rev 0 RGGB detected!
MAX9295: Revision 8 detected!
Sensor IMX390 Rev 0 RGGB detected!
MAX96712: Revision 4 detected
MAX96712: SetCMU2Default
MAX9295: Revision 8 detected!
Sensor IMX390 Rev 0 RGGB detected!
nvmedia: ERROR: MAX96712: Register 0x0006 I2C read failed with status 7
DEVBLK_MON_0: CNvMMax96712.cpp: 444: DetectErrors: MAX96712GetErrorStatus failed! with NvMedia error: 7
DEVBLK_MON_0: CNvMDeviceBlock.cpp: 416: DetectErrors: Deserializer DetectErrors failed in CNvMDeviceBlock::DetectErrors
 failed! with error: 7f
DEVBLK_MON_0: CNvMDeviceBlockMgr.hpp: 236: ThreadFunc: DetectErrors failed. status:7f
DEVBLK_WORKER_0: pwr_utils.cpp: 288: PowerControlSetPower: PowerControlSetPower: nvccp_set_aggreg_pwr_off failed with status (2)
DEVBLK_WORKER_0: pwr_utils.cpp: 288: PowerControlSetPower: PowerControlSetPower: nvccp_set_aggreg_pwr_off failed with status (2)
1 Like

Dear @laszlo.finta,
Is it using any NvMedia sample? If so, could you share the command?

We executed the following command and get the same result after some time:
./nvsipl_camera -c IMX490_RGGB_CPHY_x4 --link-enable-masks ‘0x0100 0x0000 0x0000 0x0000’ -d 0 -w 1

root@tegra-ubuntu:/home/nvidia/drive-t186ref-linux/samples/nvmedia/nvsipl/test/camera# ./nvsipl_camera -c IMX490_RGGB_CPHY_x4 --link-enable-masks '0x0100 0x0000 0x0000 0x0000' -d 0 -w 1
MAX96712: Revision 4 detected
MAX96712: SetCMU2Default
MAX9295: Revision 8 detected!
Sensor IMX490 Rev 5 RGGB detected!
Module_id 22 Severity 6 : NvMediaICPCreateEx 76
Module_id 22 Severity 6 : T19x VI version  0x000019
nvsipl_camera: Opened NITO file for module "IMX490_RGGB"
Enter 'ld' to list display-able outputs.
Enter 'e' followed by 'ID' to enable display for specific camera group
Enter 'p' followed by '0 (NV) or 1 (SAMPLE) or 2 (CUSTOM)' and 's' followed by sensors ID to enable specific plugin
Enter 'q' to quit the application
-
nvsipl_camera: ERROR: Pipeline: 2, NOTIF_ERROR_ICP_BAD_INPUT_STREAM

nvmedia: ERROR: MAX96712: Register 0x0006 I2C read failed with status 7
DEVBLK_MON_0: CNvMMax96712.cpp: 444: DetectErrors: MAX96712GetErrorStatus failed! with NvMedia error: 7
DEVBLK_MON_0: CNvMDeviceBlock.cpp: 416: DetectErrors: Deserializer DetectErrors failed in CNvMDeviceBlock::DetectErrors
 failed! with error: 7f
DEVBLK_MON_0: CNvMDeviceBlockMgr.hpp: 236: ThreadFunc: DetectErrors failed. status:7f
DEVBLK_WORKER_0: pwr_utils.cpp: 288: PowerControlSetPower: PowerControlSetPower: nvccp_set_aggreg_pwr_off failed with status (2)
DEVBLK_WORKER_0: pwr_utils.cpp: 288: PowerControlSetPower: PowerControlSetPower: nvccp_set_aggreg_pwr_off failed with status (2)
nvsipl_camera: ERROR: Pipeline failure

EngineStatusError (2), Detailed Error Code: 00000002 at StreamId:0 vcId:0 CSIFrameId:0 notified-bits:4000000

Dear @laszlo.finta,
I don’t see IMX490 camera module in supported sensor list given at DRIVE Ecosystem Hardware and Software Components | NVIDIA Developer.

Dear Siva Rama Krishna,
As I mentioned in the ticket description we saw the same issue with all the cameras not just the IMX490.

We saw this error on all of the three camera groups that has camera connected to it.

group A IMX490 on GMSL link: 3
group B IMX390 on GMSL link: 0
group B IMX390 on GMSL link: 1
group C IMX390 on GMSL link: 2

The IMX390 cameras are listed in the supported sensor list, aren’t they?

Dear @laszlo.finta,
Could you just connect single IMX390 camera at A0 port and check running the corresponding command given at https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/index.html#page/DRIVE_OS_Linux_SDK_NGC_Development_Guide/NvMedia/nvmedia_nvsipl_camera.html#wwpID0EPHA and confirm if it is working?