Raspberry Pi 4 & MESA 7i92

More
6 years 9 months ago #155837 by Mike29
Replied by Mike29 on topic Raspberry Pi 4 & MESA 7i92
I'll continue to show my ignorance as now I am trying to install the 7i92 bit file for the g540x2d and receive the following message

.pi@cnc:~ $ mesaflash --addr 10.10.10.10 --device 7I92 --write G540X2D.BIT
Can't find file G540X2D.BIT

Is there a special process for installing the bit files as this does not seem clear in the HOSTMOT2 documentation?

Thank you

Please Log in to join the conversation.

More
6 years 9 months ago #155839 by PCW
Replied by PCW on topic Raspberry Pi 4 & MESA 7i92
You would need to download the 7i92.zip file from mesa, unzip it and run the mesaflash command from the directory containing the appropriate bit file

Please Log in to join the conversation.

More
6 years 9 months ago #155925 by Mike29
Replied by Mike29 on topic Raspberry Pi 4 & MESA 7i92
Thank you but no joy. I did navigate to the folder with the BIT file and ran mesa flash. Still no file found.

pi@cnc:~/emc/src/mesaflash/7i92/configs/hostmot2 $ mesaflash --addr 10.10.10.10 --device 7I92 --write G540X2D.BIT
Can't find file G540X2D.BIT

Any advice appreciated-:)

Please Log in to join the conversation.

More
6 years 9 months ago #155930 by PCW
Replied by PCW on topic Raspberry Pi 4 & MESA 7i92
In linux file name case is significant

Please Log in to join the conversation.

More
6 years 9 months ago #155931 by Mike29
Replied by Mike29 on topic Raspberry Pi 4 & MESA 7i92
Thank you, I noticed the case difference after I submitted my previous note. It appears to have loaded successfully/ Thanks again for the help-:)

pi@cnc:~/emc/src/mesaflash/7i92/configs/hostmot2 $

mesaflash --addr 10.10.10.10 --device 7I92 --write 7i92_G540x2D.bit
Checking file... OK
File type: BIT file
Boot sector OK
EEPROM sectors to write: 6, max sectors in area: 16
Erasing EEPROM sectors starting from 0x100000...
|EEEEEE
Programming EEPROM sectors starting from 0x100000...
|WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Board configuration updated successfully.
Checking file... OK
File type: BIT file
Boot sector OK
Verifying EEPROM sectors starting from 0x100000...
|VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Board configuration verified successfully.

You must power cycle the hardware or use the --reload command to load a new firmware.

Please Log in to join the conversation.

More
6 years 8 months ago #156769 by ajsinfotech
Hi PCW

How can I install mesaflash on my Rpi3?
I surf the web but there is no relevant info about it.

sudo apt-get install mesaflash seems not to be on Rpi3 packages.
Maybe do I have to install it from source?

Any info is welcome.
Thanks in advance.

Please Log in to join the conversation.

More
6 years 8 months ago #156775 by PCW
Replied by PCW on topic Raspberry Pi 4 & MESA 7i92
Yes, you can build from source:

github.com/jethornton/mesaflash

Please Log in to join the conversation.

More
6 years 8 months ago #156868 by ajsinfotech
Many thanks PCW!

I figured it out and after some searches I finally found this link:

github.com/micges/mesaflash (I posted just in case)

I could build it fine. When I run the command it states:

Mesaflash version 3.3.0~pre (built on Feb 8 2020 14:20:13 with libpci 3.5.2)
Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB boards
(C) 2013-2015 Michael Geszkiewicz (contact: micges@wp.pl)

I suppose it will work fine.

Please Log in to join the conversation.

  • twoflowers
  • New Member
  • New Member
More
6 years 8 months ago #157141 by twoflowers
Replied by twoflowers on topic Raspberry Pi 4 & MESA 7i92
And, did it work fine on the RPi3?

Please Log in to join the conversation.

More
6 years 8 months ago #157194 by ajsinfotech
Well... maybe I am a newbie in Mesa card matters, but AFAIK the Mesa docs are very poor and sometimes wrong.

This command from the 7c81 manual is wrong:
./mesaflash --device 7c81 --addr /dev/spidev0.0 --write 7c81_5abobx2d.bit

After contact Mesa Electronics a guy told me that it is wrong. I have to try this:
./mesaflash --device 7c81 --addr /dev/spidev0.0 --spi --readhmid
But this command does not flash the firmware on the board as the manual states, it just query the default board configuration I think.

Is there any tutorial to fully configure a Mesa 7c81 for LinuxCNC?

Thanks! :)

Please Log in to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum