forked from M-Labs/artiq
artiq_flash: fix a refactoring bug.
This commit is contained in:
parent
37fa3b29da
commit
83278a6edb
@ -162,7 +162,7 @@ class ProgrammerSayma(Programmer):
|
|||||||
sector_size = 0x10000
|
sector_size = 0x10000
|
||||||
|
|
||||||
def __init__(self, client, preinit_script):
|
def __init__(self, client, preinit_script):
|
||||||
Programmer.__init__(self, client, preinit_script)
|
Programmer.__init__(self, client, [])
|
||||||
|
|
||||||
self._preinit_script += [
|
self._preinit_script += [
|
||||||
"interface ftdi",
|
"interface ftdi",
|
||||||
@ -177,6 +177,8 @@ class ProgrammerSayma(Programmer):
|
|||||||
"adapter_khz 5000",
|
"adapter_khz 5000",
|
||||||
"transport select jtag",
|
"transport select jtag",
|
||||||
|
|
||||||
|
*preinit_script,
|
||||||
|
|
||||||
# tap 0, pld 0
|
# tap 0, pld 0
|
||||||
"source {}".format(self._transfer_script("cpld/xilinx-xc7.cfg")),
|
"source {}".format(self._transfer_script("cpld/xilinx-xc7.cfg")),
|
||||||
# tap 1, pld 1
|
# tap 1, pld 1
|
||||||
|
Loading…
Reference in New Issue
Block a user