Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding support for programming with onboard USB JTAG.
There are two options;

 * Using the proprietary Digilent Adept Utilities.
 * Using the FOSS fpgalink tool.

To use Digilent Adept Utilities, add the following to your ./make.py command;
 -Op programmer adept

To use FPGALink, add the following to your ./make.py command;
 -Op programmer fpgalink
  • Loading branch information
mithro committed Jul 2, 2015
1 parent b47ffc2 commit 1a2830d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion platforms/atlys.py
@@ -1,6 +1,6 @@
from mibuild.generic_platform import *
from mibuild.xilinx import XilinxPlatform
from mibuild.xilinx import XC3SProg, iMPACT
from mibuild.xilinx import XC3SProg, iMPACT, Adept

# There appear to be 4 x LTC2481C on the U1-SCL / U1-SDA lines connected to the Cypress

Expand Down Expand Up @@ -574,6 +574,11 @@ def create_programmer(self):
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")
else:
raise ValueError("{} programmer is not supported".format(programmer))

Expand Down

0 comments on commit 1a2830d

Please sign in to comment.