mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-18 09:41:45 +00:00
platforms/nexys_video: add specific openocd cfg (use channel 1).
This commit is contained in:
parent
5aeb7d85e6
commit
445338e2e7
2 changed files with 15 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ class Platform(XilinxPlatform):
|
||||||
self.add_platform_command("set_property INTERNAL_VREF 0.750 [get_iobanks 35]")
|
self.add_platform_command("set_property INTERNAL_VREF 0.750 [get_iobanks 35]")
|
||||||
|
|
||||||
def create_programmer(self):
|
def create_programmer(self):
|
||||||
return OpenOCD("openocd_xc7_ft2232.cfg", "bscan_spi_xc7a200t.bit")
|
return OpenOCD("openocd_nexys_video.cfg", "bscan_spi_xc7a200t.bit")
|
||||||
|
|
||||||
def do_finalize(self, fragment):
|
def do_finalize(self, fragment):
|
||||||
XilinxPlatform.do_finalize(self, fragment)
|
XilinxPlatform.do_finalize(self, fragment)
|
||||||
|
|
|
||||||
14
litex_boards/prog/openocd_nexys_video.cfg
Normal file
14
litex_boards/prog/openocd_nexys_video.cfg
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
interface ftdi
|
||||||
|
ftdi_vid_pid 0x0403 0x6010
|
||||||
|
ftdi_channel 1
|
||||||
|
ftdi_layout_init 0x00e8 0x60eb
|
||||||
|
reset_config none
|
||||||
|
|
||||||
|
source [find cpld/xilinx-xc7.cfg]
|
||||||
|
source [find cpld/jtagspi.cfg]
|
||||||
|
adapter_khz 25000
|
||||||
|
|
||||||
|
proc fpga_program {} {
|
||||||
|
global _CHIPNAME
|
||||||
|
xc7_program $_CHIPNAME.tap
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue