From 823ec374ba7032c640956cf80b5e84115b7643b6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 28 May 2021 18:44:07 +0800 Subject: [PATCH] kasli-soc: internal JTAG --- openocd/kasli-soc.cfg | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/openocd/kasli-soc.cfg b/openocd/kasli-soc.cfg index bb59175..b2ff44f 100644 --- a/openocd/kasli-soc.cfg +++ b/openocd/kasli-soc.cfg @@ -1,6 +1,10 @@ -# Using external JTAG for now. - -source ./digilent-hs2.cfg +interface ftdi +ftdi_device_desc "Quad RS232-HS" +ftdi_vid_pid 0x0403 0x6011 +ftdi_channel 0 +# some GPIOs need to be set, otherwise the FTDI chip craps out for some reason. +ftdi_layout_init 0x0098 0x008b +transport select jtag adapter_khz 1000 set PL_TAPID 0x1372c093 @@ -8,7 +12,10 @@ set SMP 1 source ./zynq-7000.cfg -reset_config none +ftdi_layout_signal nSRST -data 0x0002 +reset_config srst_only srst_push_pull +adapter_nsrst_assert_width 250 +adapter_nsrst_delay 400 set XC7_JSHUTDOWN 0x0d set XC7_JPROGRAM 0x0b