Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3854

HATs and other add-ons • Re: Pi4 + MCP2515 HAT = no can0, can1 devices

$
0
0
You can disable the HAT reading with "force_eeprom_read=0".
Thank you so much!
I've never thought of this. We must live and learn!

Now HAT works perfectly fine.

Code:

pi@raspberrypi:~ $ dmesg | grep spi1[    8.281133] mcp251x spi1.2 can0: MCP2515 successfully initialized.[    8.366691] mcp251x spi1.1 can1: MCP2515 successfully initialized.
That's rather annoying if they've dumped something unhelpful in the HAT EEPROM.

There is a mechanism to make the firmware automatically load a different overlay (or probably no overlay) using https://github.com/raspberrypi/linux/bl ... at_map.dts. We'd need the information from eepdump (see https://github.com/raspberrypi/utils/tr ... r/eeptools for building that tool).

Statistics: Posted by 6by9 — Wed Jun 12, 2024 8:22 am



Viewing all articles
Browse latest Browse all 3854

Trending Articles