Power & Source of Big Ideas

How to I2C disable and using GPIO?

Moderators: chensy, FATechsupport

Hi..

I have a core board..

i need I2C Disable and Using GPIO..

i did npi-config but have a message "Fail to disable i2c0"..

How to use GPIO I2C Pins?

Please reply
I have the same problem.

If I try to change the seial-Pin (UART0 / debug) to ordinary I/O-Pins (PWM-Pin) I get this message in the terminal:

Code: Select all

pi@NanoPi-Duo2:~$ sudo npi-config
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
sed: can't read /boot/boot.cmd: No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
sed: can't read /boot/boot.cmd: No such file or directory


There is no File "/boot/sun8i-h3-nanopi-duo2.dtb" in this folder.
In the folder /boot/ I can find a file called "boot.img" and "bootlogo.bmp".

/sys/firmware/ is empty too.

Who is online

In total there are 61 users online :: 0 registered, 0 hidden and 61 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 61 guests