IMX477 error on Jetson Nano R32 6.1

Hello ArduCam Team,

  1. Where did you get the camera module(s)?
  • Amazon
  1. Model number of the product(s)?
  • B0279
  1. What hardware/platform were you working on?
  • Jetson Nano R32 6.1
  1. Instructions you have followed. (link/manual/etc.)
  1. Problems you were having?
  • Using the Nvidia driver
$ gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=400,height=400,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
Got EOS from element "pipeline0".
Execution ended after 0:00:00.001558744
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
  1. The dmesg log from your hardware?
  • IMX477 is on cam0 port of the Jetson Nano
$ dmesg | grep imx477
[    1.304736] imx477 7-001a: tegracam sensor driver:imx477_v2.0.6
[    1.606520] imx477 8-001a: tegracam sensor driver:imx477_v2.0.6
[    1.906886] imx477 8-001a: imx477_board_setup: error during i2c read probe (-121)
[    1.914482] imx477 8-001a: board setup failed
[    1.918946] imx477: probe of 8-001a failed with error -121
[    2.174493] vi 54080000.vi: subdev imx477 7-001a bound
  1. Troubleshooting attempts you’ve made?
  • Please see below
  1. What help do you need?
  • When using your ArduCam “Automatic driver installation” (cannot link it, since new users are limited to two links?!), the camera works perfect, however after this installation previously initialized GPIO pins are being reset as stated in my post at NVIDIA (please see above), but I need the SPI pins

    • I initialize SPI using sudo /opt/nvidia/jetson-io/jetson-io.py, reboot, works fine
    • Then I run ./install_full.sh -m imx477, after reboot, the camera works, but the SPI is (“overwritten?”) reset
  • Therefore, I would like to use the Nvidia driver. I set up the CSI port according to your tutorial “IMX477 – How to install the Driver” (not allowed to put more links), using sudo /opt/nvidia/jetson-io/jetson-io.py. After reboot, my config for both SPI and CSI ports are good.

  • Now the camera doesnt work anymore

  • Tried this with and without running sudo dpkg -r arducam-nvidia-l4t-kernel after initializing CSI using sudo /opt/nvidia/jetson-io/jetson-io.py

  • Error is the same as above:

$ gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=400,height=400,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
Got EOS from element "pipeline0".
Execution ended after 0:00:00.001558744
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Can you tell me what I might be doing wrong here?

It looks like the camera has been found, the command you provided was incomplete (perhaps not complete when executed?)
please try:

SENSOR_ID=0 # 0 for CAM0 and 1 for CAM1 ports
FRAMERATE=60 # Framerate can go from 2 to 60 for 1920x1080 mode
gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" !nvvidconv !nvoverlaysink

SENSOR_ID and FRAMERATE are important here, you need to set the correct values.

Hi, I am on a Jetson Nano B01 using R32 6.1 too
This command works for me :

CAMERA_SLOT=0
WIDTH=1920
HEIGHT=1080
FRAMERATE=60

gst-launch-1.0 nvarguscamerasrc sensor-id=$CAMERA_SLOT ! “video/x-raw(memory:NVMM),width=$WIDTH,height=$HEIGHT,framerate=$FRAMERATE/1” ! nvvidconv flip-method=2 ! “video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1” ! nvoverlaysink

adding this in a bash file.
Good luck :slight_smile: