- Posts: 37
- Thank you received: 3
If you can reliably access the card on the RPI4, you would
sudo mesaflash --device 7c80 --spi --addr /dev/spidev0.0 --write 7c80d.bit
sudo mesaflash --device 7c80 --spi --addr /dev/spidev0.0 --write 7c80fall.bit --fallback
(7c80d.bit and 7c80fall.bit are in the 7c80.zip file in /configs/hostmot2/)
the zip file is available from the store in the card specification tab
From Pi4, dump of mesaflash BEFORE flashing: pastebin.com/kf8iUXQY
dump of mesaflash AFTER flashing: pastebin.com/5xm8FHpq
I forced a --reload in between each flash cmd, to validate the card took the firmware before moving on.
If this looks correct, I will proceed to swapping the pi5 back into the machine.
Update: Post flashing, with the Pi5 - halcmd sees the card.
Code:pi@linuxcnc:/$ sudo mesaflash --device 7c80 --addr /dev/spidev0.0 --spi --readhmid [sudo] password for pi: open: No such file or directory No 7C80 board found in /dev/ only a single spi entry exists "spidev10.0" running mesaflash (using the above spi entry) results in the followingCode:pi@linuxcnc:/$ sudo mesaflash --device 7c80 --addr /dev/spidev10.0 --spi --readhmid Unexpected cookie at 0100..0110: ffffffff ffffffff ffffffff No 7C80 board found pi@linuxcnc:/$
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thought that would have been already enabled in the downloaded image...You need to enable spidev0.0 by turning SPI on in the boot/broadcom/config.txt file
(I have no idea what pins spidev10.0 connects to)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
On a Pi <5, if you see anything in /dev/ spi*, spi is enabled...No but it has been mentioned multiple times in multiple places (pretty sure I have mentioned it myself in this thread, maybe my posts are too long), why it isn't enabled by default is only something those that produce the images can say. I was a advocate for enabling it by default and disabling BT & sound
Or at least this should be mentioned on the download page, but people being people they can be lazy and only want the goodies or they only follow links to the actual downloads.
As you can see there is only one spi device interface that the 7c80 will respond to without a custom cable.
Please Log in or Create an account to join the conversation.