Difference between revisions of "Mesa Electronics"
(added mesaflash commands) |
(added halrun command) |
||
Line 28: | Line 28: | ||
The board must be power cycled after flashing for the new firmware/settings to take effect. | The board must be power cycled after flashing for the new firmware/settings to take effect. | ||
+ | |||
+ | To test the configuration, and make sure any "smart serial" daughterboards are being discovered, you can manually load the hostmot2 driver using <code>halrun</code> (use the appropriate IP, and config="..." parameter if necessary): | ||
+ | |||
+ | <pre># in the Linux shell | ||
+ | halrun | ||
+ | # within the halrun command prompt | ||
+ | loadrt hostmot2 | ||
+ | loadrt hm2_eth board_ip="192.168.1.121"</pre> | ||
== Ethernet Boards == | == Ethernet Boards == |
Revision as of 00:35, 5 September 2019
Overview
Mesa Electronics is a company that sells LinuxCNC compatible FPGA cards/boards and expansion boards.
Connectivity
Their cards are traditionally PCI or PCI-Express interfaced, but there are also Ethernet connected cards. The Ethernet solution is often more convenient for several reasons:
- remote location
- electrical isolation
- requires only a free Ethernet port on the host
Firmware
For the ethernet based boards, the firmware can be flashed over the network using the mesaflash
utility. You must know which board it is, and the IP address of the board. The board can usually have jumpers set to have a fixed known IP, so as long as you manually configure the ethernet interface of the host to be within the same subnet as the card, you should be able to ping it.
For example, the default IP is usually 192.168.1.121:
ping 192.168.1.121
And you can read the current configuration of the card using the following command:
mesaflash --device 7i92 --addr 192.168.1.121 --readhmid
To flash a new bitfile, issue this command:
mesaflash --device 7i92 --addr 192.168.1.121 --write 7i92_7i77x2.bit
The board must be power cycled after flashing for the new firmware/settings to take effect.
To test the configuration, and make sure any "smart serial" daughterboards are being discovered, you can manually load the hostmot2 driver using halrun
(use the appropriate IP, and config="..." parameter if necessary):
# in the Linux shell halrun # within the halrun command prompt loadrt hostmot2 loadrt hm2_eth board_ip="192.168.1.121"
Ethernet Boards
25-pin boards
- 7I92 Ethernet Anything I/O card
- 7I92M Ethernet Anything I/O card
- 7I92H Ethernet Anything I/O card
- 7I80DB-16 Ethernet Anything I/O card
- 7I80DB-25 Ethernet Anything I/O card
50-pin boards
- 7I93 Ethernet Anything I/O card
- 7I80HD-16 Ethernet Anything I/O card
- 7I80HD-25 Ethernet Anything I/O card
PCI Boards
25-pin boards
50-pin boards
- 5I20 PCI Anything I/O card
- 5I22-1 PCI Anything I/O card
- 5I22-1.5 PCI Anything I/O card
- 5I23 PCI Anything I/O card
- 5I24-16 PCI Anything I/O card
- 5I24-25 PCI Anything I/O card