Jetson Nano Cannot Start Camera and Freezes

Hello,

I have Jetson Nano and I’m doing the course “Getting Started with AI on Jetson Nano”:
https://courses.nvidia.com/courses/course-v1:DLI+C-RX-02+V1/about

Initially everything was going smoothly and I even did most of the exercises, like the classification of thumbs up/down and classification of emotions. I connect the Jetson Nano to a laptop using USB cable and access Jupyter on http://192.168.55.1:8888/.

The configuration I use is the following:

A couple of days later, I continued the course and the camera seemed to have a problem. There was no video* folder in /dev. Using dmesg I found the following:
[ 4.562900] tegra-vii2c 546c0000.i2c: — register dump for debugging ----
[ 4.569796] tegra-vii2c 546c0000.i2c: I2C_CNFG - 0x22c00
[ 4.575119] tegra-vii2c 546c0000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 4.582002] tegra-vii2c 546c0000.i2c: I2C_FIFO_CONTROL - 0xe0
[ 4.587754] tegra-vii2c 546c0000.i2c: I2C_FIFO_STATUS - 0x800070
[ 4.593768] tegra-vii2c 546c0000.i2c: I2C_INT_MASK - 0xac
[ 4.599174] tegra-vii2c 546c0000.i2c: I2C_INT_STATUS - 0x0
[ 4.604665] tegra-vii2c 546c0000.i2c: msg->len - 2
[ 4.609462] tegra-vii2c 546c0000.i2c: is_msg_write - 1
[ 4.614606] tegra-vii2c 546c0000.i2c: buf_remaining - 0
[ 4.619841] tegra-vii2c 546c0000.i2c: i2c transfer timed out, addr 0x0010, data 0x00
[ 4.627655] imx219 6-0010: imx219_board_setup: error during i2c read probe (-110)
[ 4.635172] imx219 6-0010: board setup failed
[ 4.639652] imx219: probe of 6-0010 failed with error -110

While searching for a solution, I couldn’t find anything about error -110. Different people encounter -121.

Then I decided to connect a monitor with HDMI cable (actually a TV), keyboard and mouse, instead of accessing the device through the laptop. I tried two different TVs and they didn’t recognize any HDMI input, although I’ve been using successfully one of these TVs for connection to the Nano before.

I also tried writing the image again on the SD card in case anything had got wrong on the installation. I neither got the camera working nor the connection to a screen. I tried different SanDisk SD card (class 1) and two other different images ( https://developer.nvidia.com/jetson-nano-sd-card-image-r3231 and the one for Jetbot https://drive.google.com/file/d/1GF2D814hkViwluZ5SgNKW56cQu_5Ekt5/view) - no success.

The things are getting even worse - now when I start the Jetson Nano, connect to the laptop, access http://192.168.55.1:8888/ and try to open Terminal, it simply freezes. I tried several times, including after one more clean writing of the image (the image used in the course), and with the camera removed from the device - the device continues to freeze when opening the Terminal.

I’m already stuck and don’t have any ideas what else to try. My Jetson Nano is completely useless in this state.

Any help would be appreciated. Thanks in advance,
Dobromir

Looks like something wrong for the HW. You may need connect UART to check the boot failed message.

https://www.jetsonhacks.com/2019/04/19/jetson-nano-serial-console/

Thanks for the reply. I’ll try the connection and share the result.

I still cannot get a clear reason for the problem. Here is what I tried.

I attempted UART connection, strictly following the provided article. I change the minicom configuration to point to the correct USB but when I run “sudo minicom” with the Jetson connected, I get the following in the dmesg terminal:

pl2303 ttyUSB0: pl2303_get_line_request - failed: -32
pl2303 ttyUSB0: pl2303_get_line_request - failed: -32
pl2303 ttyUSB0: pl2303_get_line_request - failed: -32

Nothing appears in the minicom terminal and when I exit minicom, I see this in the dmesg terminal:

pl2303 ttyUSB0: pl2303_get_line_request - failed: -32
pl2303 ttyUSB0: pl2303_get_line_request - failed: -32
pl2303 ttyUSB0: pl2303_get_line_request - failed: -32
pl2303 ttyUSB0: error sending break = -32

After unsuccessfully trying to solve the errors, I decided to try again remote connection using JupyterLab on http://192.168.55.1:8888. Fortunately, it does not freeze anymore and I can access the Jetson console and execute dmesg from there.

The camera still does not work and to investigate further I did some more testing using another camera and a Raspberry Pi. I tried both cameras on the Jetson and they did not start. Then I tried both cameras on the Raspberry Pi and they both worked. Definitely the problem is not in the camera.

Following I will add the errors that I see using dmesg in the Jetson JupyterLab terminal, both with the camera attached and without it.

Jetson Nano with attached camera:

[    3.262785] tegradc tegradc.1: disp1 connected to head1->/host1x/sor
[    3.262855] tegradc tegradc.1: No lt-data, using default setting
[    3.262880] tegradc tegradc.1: No hpd-gpio in DT
[    3.262909] tegradc tegradc.1: DT parsed successfully
[    3.262958] tegradc tegradc.1: Display dc.ffffff800f4c0000 registered with id=1
[    3.264367] tegradc tegradc.1: dpd enable lookup fail:-19
[    3.268618] tegradc tegradc.1: probed
[    3.279714] edid invalid
[    3.306768] tegradc tegradc.0: nominal-pclk:25174825 parent:25173906 div:1.0 pclk:25173906 24923052~27440532
[    3.362862] tegradc tegradc.1: fb registered
...
[    4.563169] tegra-vii2c 546c0000.i2c: --- register dump for debugging ----
[    4.570068] tegra-vii2c 546c0000.i2c: I2C_CNFG - 0x22c00
[    4.575395] tegra-vii2c 546c0000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[    4.582278] tegra-vii2c 546c0000.i2c: I2C_FIFO_CONTROL - 0xe0
[    4.588032] tegra-vii2c 546c0000.i2c: I2C_FIFO_STATUS - 0x800070
[    4.594047] tegra-vii2c 546c0000.i2c: I2C_INT_MASK - 0xac
[    4.599453] tegra-vii2c 546c0000.i2c: I2C_INT_STATUS - 0x0
[    4.604945] tegra-vii2c 546c0000.i2c: msg->len - 2
[    4.609743] tegra-vii2c 546c0000.i2c: is_msg_write - 1
[    4.614889] tegra-vii2c 546c0000.i2c: buf_remaining - 0
[    4.620124] tegra-vii2c 546c0000.i2c: i2c transfer timed out, addr 0x0010, data 0x00
[    4.627938] imx219 6-0010: imx219_board_setup: error during i2c read probe (-110)
[    4.635453] imx219 6-0010: board setup failed
[    4.639927] imx219: probe of 6-0010 failed with error -110
...
[    6.099212] tegra-vii2c 546c0000.i2c: --- register dump for debugging ----
[    6.106096] tegra-vii2c 546c0000.i2c: I2C_CNFG - 0x22c00
[    6.111420] tegra-vii2c 546c0000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[    6.118293] tegra-vii2c 546c0000.i2c: I2C_FIFO_CONTROL - 0xe0
[    6.124036] tegra-vii2c 546c0000.i2c: I2C_FIFO_STATUS - 0x800070
[    6.130039] tegra-vii2c 546c0000.i2c: I2C_INT_MASK - 0xac
[    6.135434] tegra-vii2c 546c0000.i2c: I2C_INT_STATUS - 0x0
[    6.140916] tegra-vii2c 546c0000.i2c: msg->len - 3
[    6.145704] tegra-vii2c 546c0000.i2c: is_msg_write - 1
[    6.150839] tegra-vii2c 546c0000.i2c: buf_remaining - 0
[    6.156062] tegra-vii2c 546c0000.i2c: i2c transfer timed out, addr 0x0040, data 0x00
[    6.163853] ina3221x 6-0040: ina3221 reset failure status: 0xffffff92
[    6.170493] ina3221x: probe of 6-0040 failed with error -110
...
[    7.094104] cgroup: cgroup2: unknown option "nsdelegate"
...
[   13.427237] tegra-i2c 7000c700.i2c: pio timed out addr: 0x50 tlen:28 rlen:128
[   13.427241] tegra-i2c 7000c700.i2c: --- register dump for debugging ----
[   13.427244] tegra-i2c 7000c700.i2c: I2C_CNFG - 0x22c00
[   13.427247] tegra-i2c 7000c700.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[   13.427250] tegra-i2c 7000c700.i2c: I2C_FIFO_CONTROL - 0xe0
[   13.427252] tegra-i2c 7000c700.i2c: I2C_FIFO_STATUS - 0x800040
[   13.427255] tegra-i2c 7000c700.i2c: I2C_INT_MASK - 0x7d
[   13.427258] tegra-i2c 7000c700.i2c: I2C_INT_STATUS - 0x0
[   13.427262] tegra-i2c 7000c700.i2c: i2c transfer timed out addr: 0x50
[   13.443352] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   14.985868] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   16.494201] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   17.999645] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   19.519445] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   21.030603] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   22.545547] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   23.667227] tegra-i2c 7000c700.i2c: pio timed out addr: 0x50 tlen:28 rlen:128
[   23.667230] tegra-i2c 7000c700.i2c: --- register dump for debugging ----
[   23.667234] tegra-i2c 7000c700.i2c: I2C_CNFG - 0x22c00
[   23.667236] tegra-i2c 7000c700.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[   23.667239] tegra-i2c 7000c700.i2c: I2C_FIFO_CONTROL - 0xe0
[   23.667241] tegra-i2c 7000c700.i2c: I2C_FIFO_STATUS - 0x800040
[   23.667244] tegra-i2c 7000c700.i2c: I2C_INT_MASK - 0x7d
[   23.667247] tegra-i2c 7000c700.i2c: I2C_INT_STATUS - 0x0
[   23.667251] tegra-i2c 7000c700.i2c: i2c transfer timed out addr: 0x50
[   24.056272] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   25.562089] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   33.907781] tegra-i2c 7000c700.i2c: pio timed out addr: 0x50 tlen:28 rlen:128
[   33.907810] tegra-i2c 7000c700.i2c: --- register dump for debugging ----
[   33.907838] tegra-i2c 7000c700.i2c: I2C_CNFG - 0x22c00
[   33.907862] tegra-i2c 7000c700.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[   33.907888] tegra-i2c 7000c700.i2c: I2C_FIFO_CONTROL - 0xe0
[   33.907912] tegra-i2c 7000c700.i2c: I2C_FIFO_STATUS - 0x800040
[   33.907937] tegra-i2c 7000c700.i2c: I2C_INT_MASK - 0x7d
[   33.907962] tegra-i2c 7000c700.i2c: I2C_INT_STATUS - 0x0
[   33.907994] tegra-i2c 7000c700.i2c: i2c transfer timed out addr: 0x50

Jetson Nano without attached camera:

[    3.424819] imx219 6-0010: tegracam sensor driver:imx219_v2.0.6
[    3.448136] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x10
[    3.448201] imx219 6-0010: imx219_board_setup: error during i2c read probe (-121)
[    3.448230] imx219 6-0010: board setup failed
[    3.448327] imx219: probe of 6-0010 failed with error -121
...
[    4.434152] tegradc tegradc.1: disp1 connected to head1->/host1x/sor
[    4.440547] tegradc tegradc.1: No lt-data, using default setting
[    4.442131] edid invalid
[    4.449088] tegradc tegradc.1: No hpd-gpio in DT
[    4.453722] tegradc tegradc.1: DT parsed successfully
[    4.458796] tegradc tegradc.1: Display dc.ffffff800f4c0000 registered with id=1
[    4.466953] tegradc tegradc.1: dpd enable lookup fail:-19
[    4.468361] tegradc tegradc.0: nominal-pclk:25174825 parent:25173906 div:1.0 pclk:25173906 24923052~27440532
[    4.485882] tegradc tegradc.1: probed
[    4.503940] tegradc tegradc.1: fb registered
...
[    5.142510] cgroup: cgroup2: unknown option "nsdelegate"
...
[   11.370965] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   12.922666] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   14.429778] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   14.706170] tegra-i2c 7000c700.i2c: pio timed out addr: 0x50 tlen:28 rlen:128
[   14.706174] tegra-i2c 7000c700.i2c: --- register dump for debugging ----
[   14.706177] tegra-i2c 7000c700.i2c: I2C_CNFG - 0x22c00
[   14.706180] tegra-i2c 7000c700.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[   14.706182] tegra-i2c 7000c700.i2c: I2C_FIFO_CONTROL - 0xe0
[   14.706185] tegra-i2c 7000c700.i2c: I2C_FIFO_STATUS - 0x800040
[   14.706188] tegra-i2c 7000c700.i2c: I2C_INT_MASK - 0x7d
[   14.706190] tegra-i2c 7000c700.i2c: I2C_INT_STATUS - 0x0
[   14.706195] tegra-i2c 7000c700.i2c: i2c transfer timed out addr: 0x50
[   15.936410] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   17.464335] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   18.968264] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   20.476082] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
...
[   21.992985] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   23.442442] tegra-i2c 7000c400.i2c: no acknowledge from address 0x3c
[   24.946762] tegra-i2c 7000c700.i2c: pio timed out addr: 0x50 tlen:28 rlen:128
[   24.946794] tegra-i2c 7000c700.i2c: --- register dump for debugging ----
[   24.946825] tegra-i2c 7000c700.i2c: I2C_CNFG - 0x22c00
[   24.946852] tegra-i2c 7000c700.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[   24.946881] tegra-i2c 7000c700.i2c: I2C_FIFO_CONTROL - 0xe0
[   24.946909] tegra-i2c 7000c700.i2c: I2C_FIFO_STATUS - 0x800040
[   24.946938] tegra-i2c 7000c700.i2c: I2C_INT_MASK - 0x7d
[   24.946966] tegra-i2c 7000c700.i2c: I2C_INT_STATUS - 0x0
[   24.947000] tegra-i2c 7000c700.i2c: i2c transfer timed out addr: 0x50
[   35.186109] tegra-i2c 7000c700.i2c: pio timed out addr: 0x50 tlen:28 rlen:128
[   35.186113] tegra-i2c 7000c700.i2c: --- register dump for debugging ----
[   35.186116] tegra-i2c 7000c700.i2c: I2C_CNFG - 0x22c00
[   35.186119] tegra-i2c 7000c700.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[   35.186122] tegra-i2c 7000c700.i2c: I2C_FIFO_CONTROL - 0xe0
[   35.186125] tegra-i2c 7000c700.i2c: I2C_FIFO_STATUS - 0x800040
[   35.186128] tegra-i2c 7000c700.i2c: I2C_INT_MASK - 0x7d
[   35.186131] tegra-i2c 7000c700.i2c: I2C_INT_STATUS - 0x0
[   35.186135] tegra-i2c 7000c700.i2c: i2c transfer timed out addr: 0x50

If it can be helpful, I can provide the whole dmesg logs.

Is it possible to identify the problem from the logs above?
In case it is a hardware problem, I don’t know what details to provide when bringing the Jetson to the shop where I bought it, as it is still in warranty.

It must be the HW connect problem both of the log show can’t communicate with imx219.
What module do buy?

] imx219: probe of 6-0010 failed with error -121

The HW I use is:

  • Jetson Nano Developer Kit
  • Raspberry Pi Camera, v2.1, 8MP, 1080p

I also tried with another camera - Raspberry Pi Camera, v1.3, 5MP, 1080p, and it didn’t work too.

The Raspberry Pi V2 was verified on Nano shouldn’t get any problem if HW without problem.

It was a HW problem. It took some time for the shop to verify it and change the device but yesterday they gave me a new Jetson Nono and now the camera works fine.

Thank you for your help.