OpenMarine
Can bus/NMEA 2000 - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: MacArthur HAT (https://forum.openmarine.net/forumdisplay.php?fid=29)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=31)
+--- Thread: Can bus/NMEA 2000 (/showthread.php?tid=5187)

Pages: 1 2 3


RE: Can bus/NMEA 2000 - Sailoog - 2024-02-18

Delete the SK connection and create it from openplotter-can by selecting the device and clicking "Add Connection".

Forget my previous suggestion, which was to try to establish the connection temporarily until Openotter-can is fixed. Just follow the manuals.


RE: Can bus/NMEA 2000 - motamman - 2024-02-18

I can't add connection. When I click on/highlight the device, the add connection remains greyed out  as does check traffic. And there is no can0 listed under interface, though I don't know it that is significant.


RE: Can bus/NMEA 2000 - Sailoog - 2024-02-18

OK, that is weird, for some reason the can0 interface is not created and it should even if you have SPI disabled in preferences - Raspberry Pi configuration - interfaces.

I am not sure how to proceed. Could you start from scratch with a new OP4 image?


RE: Can bus/NMEA 2000 - motamman - 2024-02-18

How weird is a bad header pin? Fixed and working. Thanks for being so attentive.


RE: Can bus/NMEA 2000 - Sailoog - 2024-02-18

very weird Smile

Interesting, could you provide details about the "bad header pin"?


RE: Can bus/NMEA 2000 - motamman - 2024-02-18

I am using the longer pins so I can add another hat. Unfortunately, one snapped below the plastic. When I took everything apart to test with a fresh-out-of -the-box pi 5, I pulled out the pins and one stayed put. (Pin 22, as it turns out.) On to the next thing.


RE: Can bus/NMEA 2000 - Vudda - 2024-05-16

(2024-02-18, 05:32 PM)motamman Wrote: Forgive me if I am being thick here. I was following the instructions listed in the high-res documentation pdf, which differs from the link you sent. Regardless, the same result regardless: No can0

This is what i am seeing:


and then when i create a data connection. per your previous suggestion, this:


Pax,
Mo

I am having the exact same problem, but unfortunately no broken pins. I am seeing the same screens that motamman did, where "Add connection" is greyed out, resulting in two lines when adding the connection manually in SignalK. I have no can0 interface and have no idea how to get past this step..

Could anyone offer some guidance?


RE: Can bus/NMEA 2000 - Lucky_Jack - 2024-10-11

I had everything working a couple of weeks ago and was able to receive the AIS signal from my daisy hat on an older plotter.

Yesterday I did some updates and installed Home Assistant as a docker container. After that my pi 5 did not come online anymore.

I did some testing with a fresh installation and figured out that the pi does not start properly after adding an MCP251xfd device. After adding it and doing a reboot the pi does not work correctly. The Network adapter doesn't initialize and I can't do anything locally because the apps don't open up. After removing the new entry for the MCP251xfd device in the config.txt everything works again.

Do you have any suggestions?


RE: Can bus/NMEA 2000 - holgerw - 2024-10-11

(2024-10-11, 04:12 PM)Lucky_Jack Wrote: I had everything working a couple of weeks ago and was able to receive the AIS signal from my daisy hat on an older plotter.

Yesterday I did some updates and installed Home Assistant as a docker container. After that my pi 5 did not come online anymore.

I did some testing with a fresh installation and figured out that the pi does not start properly after adding an MCP251xfd device. After adding it and doing a reboot the pi does not work correctly. The Network adapter doesn't initialize and I can't do anything locally because the apps don't open up. After removing the new entry for the MCP251xfd device in the config.txt everything works again.

Do you have any suggestions?

Hello Jack
It´s a known Issure with one of the latest raspi-updates. 
You have done right by disabling the MacArthur CAN line of config.txt for an temporary Fix without CAN.
Cross your Fingers until we get an okay from the MacArthur developers.

Holger


RE: Can bus/NMEA 2000 - Sailoog - 2024-10-12

New boat and new home port. I'm not 100% up and running yet to debug this issue. It seems to be a Raspberry OS issue, not a MacArthur HAT issue.

Could you please open a new thread on the OpenPlotter forum to collect all user reports?

Any feedback on Raspberry forums about this?

Any error message or warning related to SPI or the MCP251xFD chip using dmesg?