Goal is to be able to do perl/python scripting to exercise an external i2c slave device.
The bus speed is 400k.
I made some progress with a BBB that already had Debian 9 on it. I was able to get the bus speed adjusted by using an overlay. And that worked fine with the i2cset/i2cget/i2cdetect tools.
But I had trouble trying to install the packages to support perl/python i2c programming.
So I am now attempting to run on Debian 13 (booting from a microSD card). I got the programming packages installed. Then I ran into the issue of high speed i2c. I attempted to follow BBw - How to set i2c-2 baud rate to fast mode (400 kHz) but increasing the speed for i2c2 caused me to lose the device files for /dev/mmcblk1 and, though dmesg showd i2c2 bus was at 400k, I couldn’t actually communicate on it.
I am open to trying a different version of debian or whatever path will get me to the goal.
Chris
Messing with it some more (It’s a friday afternoon). the loss of mmcblk1 device files doesn’t seem directly related to i2c. If I edit uEnv.txt and take the comment mark from in front of “enable_uboot_overlays=1” then on the next boot my mmcblk1 device files don’t show up. This is while I still have “normal speed” i2c.
The best I can tell, the only other lines not commented out in the file are the uname_r at the top and down low the console and cmdline definitions/assignments