From 8fe2bed92c993242038c60273d1bb73f572e795e Mon Sep 17 00:00:00 2001 From: Joerg Fischer Date: Wed, 25 Jul 2012 10:10:37 +0200 Subject: [PATCH] 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 --- tcl/board/hitex_lpc1768stick.cfg | 15 +++++++++++++++ tcl/interface/ftdi/hitex_lpc1768stick.cfg | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 tcl/board/hitex_lpc1768stick.cfg create mode 100644 tcl/interface/ftdi/hitex_lpc1768stick.cfg 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 + -- 2.30.2