Exemplo n.º 1
0
 def create_programmer(self):
     if self.programmer == "xc3sprog":
         return XC3SProg("jtaghs1_fast", "bscan_spi_kc705.bit")
     elif self.programmer == "vivado":
         return VivadoProgrammer()
     elif self.programmer == "impact":
         return iMPACT()
     else:
         raise ValueError("{} programmer is not supported".format(programmer))
Exemplo n.º 2
0
    def create_programmer(self):
	# Preferred programmer - Needs ixo-usb-jtag and latest openocd.
        if self.programmer == "openocd":
            return OpenOCD(config="board/numato_opsis.cfg")
	# Alternative programmers - not regularly tested.
        elif self.programmer == "urjtag":
            return UrJTAG(cable="USBBlaster")
        elif self.programmer == "impact":
            return iMPACT()
        else:
            raise ValueError("{} programmer is not supported".format(self.programmer))
Exemplo n.º 3
0
    def create_programmer(self):
	# Preferred programmer - Needs ixo-usb-jtag and latest openocd.
        proxy="bscan_spi_{}.bit".format(self.device.split('-')[0])
        if self.programmer == "openocd":
            return OpenOCD(config="board/numato_opsis.cfg", flash_proxy_basename=proxy)
	# Alternative programmers - not regularly tested.
        elif self.programmer == "urjtag":
            return UrJTAG(cable="USBBlaster")
        elif self.programmer == "impact":
            return iMPACT()
        else:
            raise ValueError("{} programmer is not supported".format(self.programmer))
Exemplo n.º 4
0
 def create_programmer(self):
     if self.programmer == "xc3sprog":
         return XC3SProg("jtaghs1_fast", "bscan_spi_numato_opsis.bit")
     elif self.programmer == "impact":
         return iMPACT()
     elif self.programmer == "fpgalink":
         from mibuild.fpgalink_programmer import FPGALink
         return FPGALink("1443:0007")
     elif self.programmer == "urjtag":
         return UrJTAG(cable="USBBlaster", pld="spartan-6")
     else:
         raise ValueError("{} programmer is not supported".format(self.programmer))
Exemplo n.º 5
0
    def create_programmer(self):
        # Preferred programmer - Needs ixo-usb-jtag and latest openocd.
        if self.programmer == "openocd":
            return OpenOCD(config="board/numato_opsis.cfg")
# Alternative programmers - not regularly tested.
        elif self.programmer == "urjtag":
            return UrJTAG(cable="USBBlaster")
        elif self.programmer == "impact":
            return iMPACT()
        else:
            raise ValueError("{} programmer is not supported".format(
                self.programmer))
Exemplo n.º 6
0
    def create_programmer(self):
        # Preferred programmer - Needs ixo-usb-jtag and latest openocd.
        proxy = "bscan_spi_{}.bit".format(self.device.split('-')[0])
        if self.programmer == "openocd":
            return OpenOCD(config="board/numato_opsis.cfg",
                           flash_proxy_basename=proxy)
# Alternative programmers - not regularly tested.
        elif self.programmer == "urjtag":
            return UrJTAG(cable="USBBlaster")
        elif self.programmer == "impact":
            return iMPACT()
        else:
            raise ValueError("{} programmer is not supported".format(
                self.programmer))
Exemplo n.º 7
0
    def create_programmer(self):
	# Preferred programmer - Needs ixo-usb-jtag and latest openocd.
        if self.programmer == "openocd":
            return OpenOCD(config="board/digilent_atlys.cfg")
	# Alternative programmers - not regularly tested.
        elif self.programmer == "xc3sprog":
            return XC3SProg("jtaghs1_fast", "bscan_spi_digilent_atlys.bit")
        elif self.programmer == "impact":
            return iMPACT()
        elif self.programmer == "adept":
            return Adept("Atlys", 0)
        elif self.programmer == "fpgalink":
            from mibuild.fpgalink_programmer import FPGALink
            return FPGALink("1443:0007")
        elif self.programmer == "urjtag":
            return UrJTAG(cable="USBBlaster", pld="spartan-6")
        else:
            raise ValueError("{} programmer is not supported".format(self.programmer))
Exemplo n.º 8
0
    def create_programmer(self):
	# Preferred programmer - Needs ixo-usb-jtag and latest openocd.
        if self.programmer == "openocd":
            return OpenOCD(config="board/digilent_atlys.cfg")
	# Alternative programmers - not regularly tested.
        elif self.programmer == "xc3sprog":
            return XC3SProg("jtaghs1_fast", "bscan_spi_digilent_atlys.bit")
        elif self.programmer == "impact":
            return iMPACT()
        elif self.programmer == "adept":
            return Adept("Atlys", 0)
        elif self.programmer == "fpgalink":
            from mibuild.fpgalink_programmer import FPGALink
            return FPGALink("1443:0007")
        elif self.programmer == "urjtag":
            return UrJTAG(cable="USBBlaster", pld="spartan-6")
        else:
            raise ValueError("{} programmer is not supported".format(self.programmer))