Mesa Electronics: Difference between revisions

added mesaflash commands
added daughterboard pinout querying options for mesaflash
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
<pre>mesaflash --device 7i92 --addr 192.168.1.121 --readhmid</pre>
<pre>mesaflash --device 7i92 --addr 192.168.1.121 --readhmid</pre>


To flash a new bitfile, issue this command:
Newer versions of <code>mesaflash</code> can also cross reference the terminal block pinout if you tell it what daughterboard is being used in combination with the configuration. For example, for a <code>7i96</code> 25-pin daughter board connected to a <code>7i92</code> Ethernet FPGA card, where you might use the <code>7i92_7i76x1D.bit</code> pre-made configuration, the pins can be queried:
 
<pre>mesaflash --device 7i92 --addr 192.168.1.121 --readhmid --dbname1 7i76</pre>
 
To flash a new bitfile, issue a command such as this:


<pre>mesaflash --device 7i92 --addr 192.168.1.121 --write 7i92_7i77x2.bit</pre>
<pre>mesaflash --device 7i92 --addr 192.168.1.121 --write 7i92_7i77x2.bit</pre>


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 ==