1. Home
  2. Docs
  3. Jetson Cameras
  4. Native Jetson Cameras – IMX219/IMX477
  5. IMX477 – Toubleshoot

IMX477 – Toubleshoot

Table Of Contents

1. Driver installation

Please use the automatic installation script to install the driver for L4T-32.4.3 (JetPack 4.4) and later versions.

Send us the output of the automatic installation script if you encounter problems during the installation process.

eg

cacfc16c69e1446a8fb31e7056e642113368

Note: At present, the drivers we provide only support official development boards.

For third-party boards, please refer to the second chapter of Third-party boards and self-compiled kernels.

2. Third-party boards and self-compiled kernels

At present, the drivers we provide only support official development boards. For third-party boards that need to modify the device tree by themselves, we will provide the source code.

3. The camera does not work

3.1. Camera not found

Execute the following command and find that there is no video device.

ls /dev/video*
9f37fb37379c49c59bb06ad706bcc44f3368

There are two situations that may cause no video equipment:

a. Driver is not installed

To check whether the driver is installed, use the following command.

dmesg | grep -E "imx477|imx219|arducam"
ba7020ce040f4cbd9320f22a3d2952f53368

The driver of IMX – 477 is installed if the output similar to the above figure, other drivers are installed if the output is arducam or imx219.

Please go to the first chapter of Driver Installation Problem to see how to install the driver if you have the wrong one.

b. There is a problem with the hardware connection

It means that the camera is not detected if it is determined that the driver has been installed correctly and the probe failed in the dmesg log, similar to the following figure.

4

At this time, it is very likely that there is a problem with the connection (such as a loose cable, wrong connection method, and damaged cable). Please check whether the cable connection is loose. If so, try to replace a replaceable cable.

Note: You can see from the picture that there are [9-001a] and [10-001a] (7-001a and 8-001a for Nano), which represent two different camera interfaces. It is normal for the other to report errors if you only use one of them.

3.2. There is a video device that is not working

Execute the following command and find that there is a video device.

ls /dev/video*
5

Running Gstreamer.

SENSOR_ID=0 # 0 for CAM0 and 1 for CAM1 ports
FRAMERATE=30
gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink
6

Run the dmesg command again.

dmesg
7

If similar output appears, it is very likely that there is a problem with the connection (such as a loose cable, wrong connection method, and damaged cable). Please check whether the cable connection is loose. If so, try to replace a replaceable cable.

4. OpenCV access

Use Gstreamer pipeline:

https://github.com/JetsonHacksNano/CSI-Camera

Virtual video devices:

VizioChron – Xavier

5. How to adjust the Exposure Gain

Run the following command to view the available parameters of nvarguscamerasrc.

gst-inspect-1.0 nvarguscamerasrc

Set exposure.

gst-launch-1.0 nvarguscamerasrc aelock=true exposuretimerange='10000 10000' ! capsfilter caps='video/x-raw(memory:NVMM),width=(int)1920,height=(int)1080,format=(string)NV12,framerate=(fraction)30/1' ! nvvidconv flip-method=2 ! nvoverlaysink -e

Reference.

6. Mixed-use of cameras

You need to modify the device tree if you want to mix cameras, for example, CAM0 is IMX – 477 and CAM1 is IMX – 219.

We provide several examples for reference, but there are many such combinations and we cannot cover all cases. For this, you can choose to modify the device tree yourself by referring to the examples we provide or contact us for customization service.

7. Use SSD on Xavier NX

Xavier NX can not boot directly from SSD. Firstly, it needs to load the kernel from the SD card, and switch rootfs to SSD after booting. Therefore, if you install the driver in the rootfs of SSD, it will not change the kernel used at boot.

You can switch to SD card to install the driver or copy two files which patch of SSD is /boot/arducam and /boot/extlinux/extlinux.conf to the Corresponding catalog in SD card.

8. Still have questions?

Contact Us

NOTE: Information to be provided.

a. Sensor model (SKU or Order Number)

b. Related log files

Execute the command after running the camera (for example after running the display command).

dmesg > dmesg.log
uname -a >> dmesg.log
cat /etc/nv_tegra_release >> dmesg.log
dpkg --list | grep nvidia-l4t-kernel >> dmesg.log

Send us the dmesg.log file.

c. Hardware connection diagram

d. The output of the installation script

If it is an installation problem, please also send us the output of the installation script.

Was this article helpful to you? Yes No