Hi everyone !
We are using a Jetson TK1 with L4T 21.3 and the grinch kernel. We create a board to interface a LIDAR Lite on I2C port 0 (Pin 21 an Pin 23 J3A1) with a level shifter. Evething worked find but yesterday we encountered severals issues :
1 - Our I2C port (I2C 0) doesn’t work and it is very slow when we uses the command : sudo i2cdetect -y -r 0 (to detect I2C device). This problem occur when the device is connected or not.
However, this command is very quick with other I2C port.
Our device is using 3V3 but we added a level shifter to use it at 1V8.
-> We suppose that the I2C port 0 is broken. Is there a way we can check?
-> We are wondering if shortcut might have happened between our 3V3 suply line and the SCL line (Pin 21 J3A1)
2 - As a result, the USB 3.0 now doesn’t work. But when we switch it in 2.0 (in the .conf file) it is working again.
3 - When the jetson boot, the system try to use the I2C port 0 and fail, which has an impact on the speed of the booting process.
The following message appeared several time :
Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.634012] tegra-i2c tegra12-i2c.0: --- register dump for debugging ---- Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.649992] tegra-i2c tegra12-i2c.0: I2C_CNFG - 0x2c00 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.659603] tegra-i2c tegra12-i2c.0: I2C_PACKET_TRANSFER_STATUS - 0xff0001 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.670907] tegra-i2c tegra12-i2c.0: I2C_FIFO_CONTROL - 0xe0 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.680932] tegra-i2c tegra12-i2c.0: I2C_FIFO_STATUS - 0x800070 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.691161] tegra-i2c tegra12-i2c.0: I2C_INT_MASK - 0xec Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.700692] tegra-i2c tegra12-i2c.0: I2C_INT_STATUS - 0x0 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.710304] tegra-i2c tegra12-i2c.0: msg->len - 3 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.719175] tegra-i2c tegra12-i2c.0: is_msg_write - 1 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.728384] tegra-i2c tegra12-i2c.0: buf_remaining - 0 Jan 1 00:01:26 tegra-ubuntu kernel: [ 8.737513] tegra-i2c tegra12-i2c.0: i2c transfer timed out, addr 0x001c, data 0x00
4 - We try to re flash the Jetson TK1 with Jetpack but every time, we encountered this error message :
downloading bootloader -- load address: 0x83d88000 entry point: 0x83d88000 download command failed NvError 0x120002 command failure/warning: bootloader download failed (bad data) Failed flashing ardbeg
5 - Hopefully the Jetson is still working and ubuntu is booting but the desktop has a hard time booting. After that, everything works perfectly.
We could use a different I2C port but we really need the USB 3.0. How can we fixe it ?
Can we diseable the I2C port 0 to accelerate the booting process ?
How can we re-flash the jetson ?