(2020-05-10, 11:43 AM)Max1947 Wrote: [ -> ]Hi everyone. A small problem with Pypilot on RP4 with Moitessier. I have to start RP twice to get Pypilot to hook and see in SignalK it transmits. When first switched on, nothing. I restart and Pypilot engages and signals in SignalK. Does this happen to you too?
Hi everyone,
I have the same problem with the latest packages - I think it has to do with some I2C problems, because the effect is that GPS/AIS on the HAT2 still works, but everything using the I2C bus stops working (pressure, temperature, PyPilot roll/pitch/mag. heading).
If I dig further into it I see the following problems on the Pi4:
[...]
[ 850.578567] i2c-bcm2835 fe804000.i2c: i2c transfer timed out
[ 851.618668] i2c-bcm2835 fe804000.i2c: i2c transfer timed out
[ 852.658870] i2c-bcm2835 fe804000.i2c: i2c transfer timed out
[ 853.698860] i2c-bcm2835 fe804000.i2c: i2c transfer timed out
[...]
and
i2cdetect -y 1
just hangs or outputs the result very very slowly.
Once finished the address 68 is missing from the output.
Hardware: Raspi Pi 4, HAT2, directly connected without any adapters/cables.
Software versions:
ii openplotter-can 2.1.1-stable all OpenPlotter app to manage CAN BUS adapters
ii openplotter-dashboards 2.2.0-stable all OpenPltter app to manage dashboards
ii openplotter-doc 2.0.7-dev all OpenPlotter project documentation
ii openplotter-i2c 2.1.1-stable all OpenPlotter app to manage I2C sensors in Raspberry Pi
ii openplotter-mcs 2.1.6-stable all This is a App for Openplotter 2.0 and higher to use with a GeDaD MarineControlServer Hardware
ii openplotter-moitessier 2.1.2-stable all OpenPlotter app to manage the Moitessier HAT
ii openplotter-network 2.1.4-stable all OpenPlotter app to manage network connections in Raspberry Pi
ii openplotter-opencpn-installer 2.1.0-stable all OpenPlotter app to manage OpenCPN installation
ii openplotter-pypilot 2.0.8-beta all OpenPlotter app to integrate Pypilot in Raspberry Pi
ii openplotter-serial 2.1.0-stable all OpenPlotter app to manage serial devices
ii openplotter-settings 2.3.0-stable all Main OpenPlotter app
ii openplotter-signalk-installer 2.1.0-stable all OpenPlotter app to manage Signal K node server installation
Strange thing is that after power-on it works for 1-2 minutes - then it stops. Soft reboot seems to help as it is running stable for about an hour now.
Best regards,
Jonas