From: Joerg Fischer Date: Wed, 25 Jul 2012 08:10:37 +0000 (+0200) Subject: cfg: Add Hitex LPC1768-Stick using ftdi driver X-Git-Tag: v0.6.0-rc1~9 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=8fe2bed92c993242038c60273d1bb73f572e795e cfg: Add Hitex LPC1768-Stick using ftdi driver Add cfg files for Hitex LPC1768 Stick Website: http://www.hitex.com/?id=1602 This board has a FTDI2232D as JTAG interface, using the same layout as the Hitex STM32-PerformanceStick but with different USB PID. Main MCU is a LPC1768 from NXP. The interface config uses the ftdi driver instead of ft2232. The corresponding ft2232 layout would be "stm32stick". Change-Id: I1fd15588c5af35f7d51777d1ad958cc1dc72c6f7 Signed-off-by: Joerg Fischer Reviewed-on: http://openocd.zylin.com/763 Tested-by: jenkins Reviewed-by: Freddie Chopin --- diff --git a/tcl/board/hitex_lpc1768stick.cfg b/tcl/board/hitex_lpc1768stick.cfg new file mode 100644 index 0000000000..08820f05d2 --- /dev/null +++ b/tcl/board/hitex_lpc1768stick.cfg @@ -0,0 +1,15 @@ +# Hitex LPC1768 Stick +# +# http://www.hitex.com/?id=1602 +# + +reset_config trst_and_srst + +source [find interface/ftdi/hitex_lpc1768stick.cfg] + +source [find target/lpc1768.cfg] + + +# startup @ 500kHz +adapter_khz 500 + diff --git a/tcl/interface/ftdi/hitex_lpc1768stick.cfg b/tcl/interface/ftdi/hitex_lpc1768stick.cfg new file mode 100644 index 0000000000..4efe8bb632 --- /dev/null +++ b/tcl/interface/ftdi/hitex_lpc1768stick.cfg @@ -0,0 +1,15 @@ +# +# Hitex LPC1768-Stick +# +# http://www.hitex.com/?id=1602 +# + + +interface ftdi +ftdi_device_desc "LPC1768-Stick" +ftdi_vid_pid 0x0640 0x0026 + +ftdi_layout_init 0x0188 0x038b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0080 -noe 0x200 +