Beispiel #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))
    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))
Beispiel #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))
 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))
    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))
Beispiel #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))
    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))
Beispiel #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))