OpenMarine
[CLOSED] i2c broke after update - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: [CLOSED] i2c broke after update (/showthread.php?tid=2703)



[CLOSED] i2c broke after update - flybob - 2020-07-01

I2C bug

I run Openplotter on the MCS board with Rpi4 and Moitessier Hat.
All worked fine together until i recently updated the FW on the Hat.
Latest version of all packages as of yesterday.

Openplotter system check now complains that i2c is disabled.
Raspberry Pi config shows i2c is enabled.
If i disable i2c in Raspberry Pi config - everything freezes instantly.

Seems like i2c is actually working fine but system check won't accept it and disables lots of things.

/boot/config ends like this:
#MCS-Openplotter config (Do not delete or edit this part)(start)
dtoverlay=sc16is752-i2c,int_pin=13,addr=0x4c,xtal=14745600
dtoverlay=sc16is752-i2c,int_pin=12,addr=0x49,xtal=14745600
dtoverlay=sc16is752-i2c,int_pin=6,addr=0x48,xtal=14745600
#MCS-Openplotter config (Do not delete or edit this part)(end)
dtparam=spi=on
dtparam=i2c_arm=on
gpu_mem=256


Moitessier Hat reports this:
opening device /dev/moitessier.ctrl
size - 204
mode - A
hardware ID - P770010
hardware version - E04
boot version - 
app version - 1.6.0
gnss version - L86NR02A01S
functionality - 0xffffffff
system errors - 0x00000000
serial - 20383439434e43198002000a

i2c app complains about i2c being disabled and can't do anything.
it lists the two i2c sensors that are attached to the Hat (MS5607-02BA03).

Ideas?


RE: i2c broke after update - flybob - 2020-07-12

Fixed it by reinstalling MCS