Hello,
I was trying to rehash an older project w/ the Motor Bridge Cape and came across some odd issues. Here is the info. I am giving. If anyone needs additional ideas or logs, please let me know.
uname -r: 4.19.94-ti-r71
and…
cat /etc/dogtag: BeagleBoard.org Debian Buster IoT Image 2022-02-03
I ran ./version.sh b/c of me having the 4.19.x kernel w/ the Buster Distro. For some reason, I had an older model of uboot, i.e. circa '18 on the eMMC. So, I removed it and am rebooting now.
Seth
P.S. I rebooted. The board is booting very fast these days. Good work fellows/gals. Anyway, here are the errors on output:
Traceback (most recent call last):
File "./Use_This_One_Motors.py", line 20, in <module>
from MotorBridge import *
File "/home/debian/MotorBridge/MotorBridge.py", line 19, in <module>
MotorBridge = SMBus('/dev/i2c-2')
File "/home/debian/.local/lib/python3.7/site-packages/smbus2/smbus2.py", line 280, in __init__
self.open(bus)
File "/home/debian/.local/lib/python3.7/site-packages/smbus2/smbus2.py", line 310, in open
self.fd = os.open(filepath, os.O_RDWR)
PermissionError: [Errno 13] Permission denied: '/dev/i2c-2'
I will check to see if I am missing i2c-2 on this Buster image.