Camarray HAT with Quad IMX219 (B0396) not working on Jetson NX

Hi!

I have a problem making work the quad IMX219 camarray module (B0396) on a Jetson NX, and I would really appreciate some help using it.

  1. Where did you get the camera module(s)?
    UCTRONICS

  2. Model number of the product(s).
    B0396

  3. What hardware/platform were you working on?
    Jetson NX dev board running L4T 32.7.2, kernel version: 4.9.253-tegra.

  4. Instructions you have followed. (link/manual/etc.)
    Camarray – Arducam 8MP IMX219 Synchronized Stereo Camera Bundle Kit - Arducam

  5. Problems you were having.
    When running a gstream command, I get the following error:

     komdat@ubuntu:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink
     Setting pipeline to PAUSED ...
     Pipeline is live and does not need PREROLL ...
     Setting pipeline to PLAYING ...
     New clock: GstSystemClock
     GST_ARGUS: Creating output stream
     CONSUMER: Waiting until producer is connected...
     GST_ARGUS: Available Sensor modes :
     GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
     
     GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
     
     GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
     
     GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
     
     GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
     
     GST_ARGUS: Running with following settings:
        Camera index = 0 
        Camera mode  = 2 
        Output Stream W = 1920 H = 1080 
        seconds to Run    = 0 
        Frame Rate = 29.999999 
     GST_ARGUS: Setup Complete, Starting captures for 0 seconds
     GST_ARGUS: Starting repeat capture requests.
     CONSUMER: Producer has connected; continuing.
     ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
     Additional debug info:
     Argus Error Status
     Execution ended after 0:00:02.076236192
     Setting pipeline to PAUSED ...
     Setting pipeline to READY ...
     nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
     nvbuf_utils: Can not get HW buffer from FD... Exiting...
     CONSUMER: ERROR OCCURRED
     GST_ARGUS: Cleaning up
     Setting pipeline to NULL ...
     Freeing pipeline ...
     komdat@ubuntu:~$ 
    
  6. The dmesg log from your hardware.

  komdat@ubuntu:~$ dmesg | grep imx
[    4.694383] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[    4.717964] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    4.718076] imx219 9-0010: board setup failed
[    4.718156] imx219: probe of 9-0010 failed with error -121
[    4.718560] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[    5.320801] tegra194-vi5 15c10000.vi: subdev imx219 10-0010 bound
komdat@ubuntu:~$
  1. Troubleshooting attempts you’ve made.
    I have tested the camera array on a Jetson Nano, where it worked, so the problem is probably not related to the camera. I have tried a different camera array on the Jetson NX (B0267) wich worked also, so the problem isprobably not be with the Jetson NX either.
    The camarray hat is detected when i run :
    komdat@ubuntu:~$ i2cdetect -r -y 10
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
	00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
	10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
	20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- -- 
	30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
	40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
	50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
	60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
	70: -- -- -- -- -- -- -- --                         
	komdat@ubuntu:~$
  1. What help do you need?
    I would need help to figure out what the problem might be, and how to make the cameras work on the Jetson NX.

Thank you, and have a nice day!

Hi, @bkelemen

Sorry, this is a firmware issue. We discovered this issue while testing the other day and have since fixed it.

You need to contact customer service to mail the camera to us, and we will update the firmware for you.

Hi @yang!

Thank you for your fast response! I also have a quad IMX519 (B0388) module, which presents the same problem. Is it possible that it is affected by the same problem?

Hi, @bkelemen

Yes, I just tested the B0388 and it had this problem too.

If you are concerned about accidental damage to the camera in the mail, you can mail the HAT to us separately.

Thank you very much for your help. So I only need to send back the HATs (actually I have two B0396 modules and two B0388 modules), and not the cameras?

Hi, @bkelemen

Yes. Because this is only a problem with the HAT firmware.

However, it is recommended that you send us the entire camera. In this way, after programming the firmware, we can test it.

Hi @yang

I will send the modules with the cameras then. Thank you very much for your help!