Mesa Flash - Mesa 7i94.

More
6 years 11 months ago #150136 by tommylight
Replied by tommylight on topic Mesa Flash - Mesa 7i94.
Unsupported device???
Well, you might want to wait a bit for PCW ( Peter from Mesa ) to answer this as i do not have a 794 to test with.

sudo mesaflash --device 7i94 --addr 192.168.1.121 --write name_of_the_bitfile <<<this should be the actual name of a bitfile that is in that zip file, not name_of_the_bitfile

First check what bitfile you would need, then check if it already is in the 7i94, if not then flash it.
The following user(s) said Thank You: Moreira

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #150137 by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
I've already sent Peter (Mesa) an email about this.

I will be using the SSD bitfile.

Thank you!

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #150140 by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
I just tried and it works for me:
peter@pcw-HP-EliteDesk-800-G1-USDT$ mesaflash --device 7i94 --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA7I94
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 2
.......

Did you compile and install the mesaflash from

github.com/jethornton/mesaflash

Thats what I am using
The following user(s) said Thank You: Moreira

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago - 6 years 11 months ago #150141 by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
It's working now!

I've just uninstalled and re-installed mesaflash ( github.com/jethornton/mesaflash/blob/master/README.md ).

Thank you for the support!
Last edit: 6 years 11 months ago by Moreira.

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #150146 by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
Glad its working , you probably were running the older version

To amplify on what tommylight was saying, do no write anything to the 7I94
other than a file with a name that starts with 7i94_ and ends in .bit
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago - 6 years 11 months ago #150217 by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Hi PCW,

I've re-built the linuxcnc ( github.com/KurtJacobson/RF45-CNC/wiki/Bu...LinuxCNC-From-Source ) after replacing the hm2_eth.c and pins.c files in the directory: linuxcnc-dev/src/hal/drivers/mesa-hostmot2/

When I tried to compile (make) the 2.7 branch I had multiple undeclared errors generated by the pins.c file.

So, I tried the 2.8 branch and It also generated errors but they were all related to the undeclared definition "HHM2_GTAG_INMIX". Then, I opened the pins.c file and commented the lines of code which use this definition and it worked! Please find attached the modified pins.c file.

Then, after launching the linux cnc from the terminal I came across with the window "Confirm automatic update". It says I should update linux cnc.
I ignored this and I was getting errors: "the linux cnc was shutting down and cleaning up"

What linux CNC version should I be using with mesa i794?
Should I update linux cnc?


Best Regards,
Laura


File Attachment:

File Name: pins_2019-11-12-2.c
File Size:29.79 KB
Last edit: 6 years 11 months ago by Moreira.

Please Log in or Create an account to join the conversation.

Time to create page: 0.458 seconds
Powered by Kunena Forum