This documentation is no longer maintained. For documentation of the current version of emc2, please see http://www.linuxcnc.org/docview/html

bfload

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE

NAME

bfload − A program for loading a Xilinx Bitfile program into the FPGA of an Anything I/O board from Mesa Electronics.

SYNOPSIS

bfload help

bfload list

bfload BoardType[:BoardIdentifier]=BitFile

bfload <filename> [<cardnum>]

DESCRIPTION

This program loads a Xilinx bitfile-format FPGA program into the FPGA of an Anything I/O board from Mesa Electronics. Currently supported boards:

5i20

7i43 (both the 200K and 400K FPGA models)

OPTIONS

The first two command-line forms do not program an FPGA.

help Prints terse usage info.

list Lists all the supported PCI Anything I/O boards in the system.

The last two command-line forms try to program the FPGA of an Anything I/O board.

The new, prefered command-line syntax is: BoardType[:BoardIdentifier]=BitFile

BoardType specifies the model name of a supported Anything I/O board (see the DESCRIPTION section above).

BoardIdentifier is optional. Its format depends on the board type. For PCI boards, BoardIdentifier is an integer specifying the n’th discovered PCI board of that type. For EPP boards, BoardIdentifier is the I/O address of the parallel port to use, in the format "IOAddr[,IOAddrHigh]". If IOAddrHigh is omitted, it defaults to IOAddr + 0x400. If BoardIdentifier is omitted, it defaults to "0" for PCI boards and "0x378" for EPP boards.

BitFile is the name of the FPGA program file to send.

The old, deprecated command-line syntax is: <filename> [<cardnum>]

Only the 5i20 board is supported with this syntax. Support for this syntax will be removed in a future version of EMC.

<filename> is the name of the FPGA program file to send.

<cardnum> (optional, defaults to 0) is the index of the board to send it to.

EXAMPLE

# send the file SV12.BIT to the first 5i20 board in the system
bfload 5i20=SV12.BIT

# send the file SV8B.BIT to the 7i43 at the specified address
bfload 7i43:0xdc48,0xdc50=SV8B.BIT

# send the file SVST8_4.BIT to the first 5i20 (old deprecated syntax)
bfload SVST8_4.BIT

# send the file SVST8_4.BIT to the second 5i20 (old deprecated syntax)
bfload SVST8_4.BIT 1