diff options
author | Joerg Fischer <turboj@gmx.de> | 2012-07-25 10:10:37 +0200 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2012-08-01 21:12:27 +0000 |
commit | 8fe2bed92c993242038c60273d1bb73f572e795e (patch) | |
tree | b64c67331eff047b6c44adb07b60bf28142e2c8b | |
parent | c89eb70a20230edfc79153c17c0c4c3f9dc64819 (diff) |
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 <turboj@gmx.de>
Reviewed-on: http://openocd.zylin.com/763
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
-rw-r--r-- | tcl/board/hitex_lpc1768stick.cfg | 15 | ||||
-rw-r--r-- | tcl/interface/ftdi/hitex_lpc1768stick.cfg | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/tcl/board/hitex_lpc1768stick.cfg b/tcl/board/hitex_lpc1768stick.cfg new file mode 100644 index 00000000..08820f05 --- /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 00000000..4efe8bb6 --- /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 + |