This is an automated email from Gerrit. Robert Jordens ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2861
-- gerrit commit 7cfaa9a2add6e85abe2b3fed591a3fe82b09ad04 Author: Robert Jordens <[email protected]> Date: Thu Jul 2 23:38:53 2015 -0600 kc705: digilent-jtag/kintex7/jtagspi board Xilinx Kintex7 Development board with integrated Digilent JTAG-SMT1 (a.k.a. HS1) interface and a 128 MBit SPI flash. Change-Id: I9daba0a2fb2c17e04bcb37bd41872ebde25e0d2f Signed-off-by: Robert Jordens <[email protected]> diff --git a/tcl/board/kc705.cfg b/tcl/board/kc705.cfg new file mode 100644 index 0000000..c2fb900 --- /dev/null +++ b/tcl/board/kc705.cfg @@ -0,0 +1,16 @@ +# http://www.xilinx.com/products/boards-and-kits/ek-k7-kc705-g.html + +source [find interface/ftdi/digilent_jtag_hs1.cfg] +set _XC7K325T_TAPID 0x43651093 +set FPGATAPID $_XC7K325T_TAPID +source [find cpld/xilinx-series7.cfg] +source [find cpld/jtagspi.cfg] + +# example command to write bitstream, soft-cpu bios and runtime: +# openocd -f board/kc705.cfg -c "init;\ +# jtagspi_init 0 bscan_spi_xc7k325t-ffg900-2.bit;\ +# jtagspi_program bitstream-kc705.bin 0;\ +# jtagspi_program bios.bin 0xaf0000;\ +# jtagspi_program runtime.fbi 0xb00000;\ +# fpga_program;\ +# exit" diff --git a/tcl/cpld/xilinx-series7.cfg b/tcl/cpld/xilinx-series7.cfg new file mode 100644 index 0000000..2fd1f58 --- /dev/null +++ b/tcl/cpld/xilinx-series7.cfg @@ -0,0 +1,27 @@ +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { + set _CHIPNAME xc7 +} + +set _CFG_IN 0x05 +set _JSHUTDOWN 0x0d +set _JPROGRAM 0x0b +set _JSTART 0x0c +set _BYPASS 0x3f +set _IDCODE 0x09 + +jtag newtap $_CHIPNAME fpga -irlen 6 -expected-id $FPGATAPID +pld device virtex2 $_CHIPNAME.fpga 1 + +proc fpga_program {} { + global _JSHUTDOWN _JPROGRAM _JSTART _BYPASS _CHIPNAME + irscan $_CHIPNAME.fpga $_JSHUTDOWN + irscan $_CHIPNAME.fpga $_JPROGRAM + runtest 60000 + #JSTART prevents this from working... + #irscan $_CHIPNAME.fpga $_JSTART + runtest 2000 + irscan $_CHIPNAME.fpga $_BYPASS + runtest 2000 +} diff --git a/tcl/interface/ftdi/digilent_jtag_hs1.cfg b/tcl/interface/ftdi/digilent_jtag_hs1.cfg new file mode 100644 index 0000000..91d96d6 --- /dev/null +++ b/tcl/interface/ftdi/digilent_jtag_hs1.cfg @@ -0,0 +1,10 @@ +# this supports HS1 and SMT1 (the later being the OEM on-board version) +interface ftdi +transport select jtag +adapter_khz 25000 +ftdi_device_desc "Digilent Adept USB Device" +ftdi_vid_pid 0x0403 0x6010 +ftdi_channel 0 +# just TCK TDI TDO TMS, no reset +ftdi_layout_init 0x0088 0x008b +reset_config none -- ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
