]> git.sur5r.net Git - openocd/commitdiff
cfg: fix incorrect str9-comstick reset config
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 26 Sep 2012 09:45:12 +0000 (10:45 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Tue, 2 Oct 2012 11:27:02 +0000 (11:27 +0000)
The str9-comstick uses a direct srst connection rather than via any buffer.
As a result this fixes issues with the newer ftdi driver.

Change-Id: I0968e8459997a6a2b7bf0c46e89662cd57b4f496
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/842
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
tcl/interface/ftdi/hitex_str9-comstick.cfg

index f5893817b1e87634968b952bbc81b8c081980cf6..b4137468f9a0b809ba8a48a7de4e77412bcf1d25 100644 (file)
@@ -13,6 +13,6 @@ interface ftdi
 ftdi_device_desc "STR9-comStick"
 ftdi_vid_pid 0x0640 0x002c
 
-ftdi_layout_init 0x0308 0x030b
+ftdi_layout_init 0x0108 0x010b
 ftdi_layout_signal nTRST -data 0x0100
-ftdi_layout_signal nSRST -data 0x0200
+ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200