As Autofocus.py is run by executing the following command, I think i2c-7 should be installed.
python Autofocus.py -i 7
where 7 is the i2c interface for Nvidia Jetson Nano B01.
However, when I use the command
sudo i2cdetect -r -y 7
It shows: "Error: Could not open file
/dev/i2c-7' or /dev/i2c/7’: No such file or directory.
Plus, this is the output when I list all i2c by using the command
/dev/i2c-0 /dev/i2c-1 /dev/i2c-101 /dev/i2c-2 /dev/i2c-3 /dev/i2c-4 /dev/i2c-5 /dev/i2c-6
As you can see, there’s no i2c-7 in the system.
Does anyone know how to install i2c-7? Thank you!
Are you using the 4GB or 2GB version?
I’m using 4 GB 64-bit LPDDR4 25.6 GB/s one
4GB is supposed to be 7 and 8, but you don’t have either, is your base plate official?
Our i2c-7 is defined according to the official base plate. If it is another third-party base plate, the i2c of the defined camera may be different.
It’s official. NVIDIA Jetson Nano P3450.
Take a look at the dmesg report
dmesg | grep imx477
Sorry, I’m off work now, I can look at it for you tomorrow, if you have any information, please leave a message and I’ll check it out.
You can try
python Autofocus.py -i 6
Your case is special, can you take a picture of the overall hardware connection?