]> git.sur5r.net Git - openocd/commitdiff
cfg: fix incorrect stm32-performance stick config
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 2 Oct 2012 11:45:41 +0000 (12:45 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Tue, 2 Oct 2012 16:00:44 +0000 (16:00 +0000)
This hardware uses a output enable buffer that was not correctly defined.
Fixes issues when using the new ftdi driver.

Change-Id: Iba6235a71a6d3c7d16ab729f858b336a4574dfea
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/844
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Tested-by: jenkins
tcl/interface/ftdi/stm32-stick.cfg

index 213b4554a8dabe910cba2c9268ba66ba113da476..2aff1fe8fd9b080166c7f8596e5569f055155e86 100644 (file)
@@ -8,6 +8,6 @@ interface ftdi
 ftdi_device_desc "STM32-PerformanceStick"
 ftdi_vid_pid 0x0640 0x002d
 
-ftdi_layout_init 0x0188 0x038b
+ftdi_layout_init 0x0388 0x038b
 ftdi_layout_signal nTRST -data 0x0100
-ftdi_layout_signal nSRST -data 0x0080
+ftdi_layout_signal nSRST -data 0x0080 -noe 0x200