]> git.sur5r.net Git - openocd/commitdiff
lpc1768-stick: avoid driving srst high at startup
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 2 Oct 2012 11:51:48 +0000 (12:51 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Tue, 2 Oct 2012 22:17:36 +0000 (22:17 +0000)
this avoid driving nSRST high after startup, by making sure the nOE is
initialized inactive/high.

This also matches the config used for the STM32-PerformanceStick.

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

index 4efe8bb632c55a7a60c2db7e32ca8e37d9c1d8e1..f22d4f7b2c64d235a4ce7118367beb2ba73d91c6 100644 (file)
@@ -9,7 +9,7 @@ interface ftdi
 ftdi_device_desc "LPC1768-Stick"
 ftdi_vid_pid 0x0640 0x0026
 
-ftdi_layout_init 0x0188 0x038b
+ftdi_layout_init 0x0388 0x038b
 ftdi_layout_signal nTRST -data 0x0100
 ftdi_layout_signal nSRST -data 0x0080 -noe 0x200