def __init__(self, initial_vidpid=None, pin_cfg="D0D2D3D4",
                 fpgalink_vidpid="1D50:602B:0002", flash_proxy_basename=None):
        """
        Parameters
        ----------
        initial_vidpid : string
            The USB vendor and product id of the device before fpgalink
            firmware is loaded onto the device.

            Format is vid:pid as 4 digit hex numbers.

        pin_cfg : string
            FPGALink pin configuration string describing how the JTAG interface
            is hooked up to the programmer.

        fpgalink_vidpid : string
            The USB vendor, product and device id of the device after the
            fpgalink firmware is loaded onto the device.

            Format is vid:pid:did as 4 digit hex numbers.
            Defaults to 1D50:602B:0002 which is the makestuff FPGALink device.
        """
        GenericProgrammer.__init__(self, flash_proxy_basename)
        self.initial_vidpid = initial_vidpid
        self.fpgalink_vidpid = fpgalink_vidpid
        self.pin_cfg = pin_cfg
Beispiel #2
0
    def __init__(self,
                 initial_vidpid=None,
                 pin_cfg="D0D2D3D4",
                 fpgalink_vidpid="1D50:602B:0002",
                 flash_proxy_basename=None):
        """
        Parameters
        ----------
        initial_vidpid : string
            The USB vendor and product id of the device before fpgalink
            firmware is loaded onto the device.

            Format is vid:pid as 4 digit hex numbers.

        pin_cfg : string
            FPGALink pin configuration string describing how the JTAG interface
            is hooked up to the programmer.

        fpgalink_vidpid : string
            The USB vendor, product and device id of the device after the
            fpgalink firmware is loaded onto the device.

            Format is vid:pid:did as 4 digit hex numbers.
            Defaults to 1D50:602B:0002 which is the makestuff FPGALink device.
        """
        GenericProgrammer.__init__(self, flash_proxy_basename)
        self.initial_vidpid = initial_vidpid
        self.fpgalink_vidpid = fpgalink_vidpid
        self.pin_cfg = pin_cfg
Beispiel #3
0
 def __init__(self, iceburn_path):
     GenericProgrammer.__init__(self)
     self.iceburn = iceburn_path
 def __init__(self, iceburn_path):
     GenericProgrammer.__init__(self)
     self.iceburn = iceburn_path
Beispiel #5
0
 def __init__(self, flash_proxy_basename=None):
     GenericProgrammer.__init__(self, flash_proxy_basename)
Beispiel #6
0
 def __init__(self, board, index, flash_proxy_basename=None):
     GenericProgrammer.__init__(self, flash_proxy_basename)
     self.board = board
     self.index = index
Beispiel #7
0
 def __init__(self, vivado_path="/opt/Xilinx/Vivado", vivado_ver=None,
              flash_part="n25q256-3.3v-spi-x1_x2_x4"):
     GenericProgrammer.__init__(self)
     self.vivado_path = vivado_path
     self.vivado_ver = vivado_ver
     self.flash_part = flash_part
Beispiel #8
0
 def __init__(self, flash_part="n25q256-3.3v-spi-x1_x2_x4"):
     GenericProgrammer.__init__(self)
     self.flash_part = flash_part
Beispiel #9
0
 def __init__(self, config, flash_proxy_basename=None):
     GenericProgrammer.__init__(self, flash_proxy_basename)
     self.config = config