[prev in list] [next in list] [prev in thread] [next in thread]
List: openocd-development
Subject: [OpenOCD-devel] [PATCH]: 7541669 topic: cfg: Add Hitex LPC1768-Stick using ftdi driver
From: gerrit () openocd ! zylin ! com
Date: 2012-07-25 8:29:46
Message-ID: 20120725082947.0124924A6A () openocd ! zylin ! com
[Download RAW message or body]
This is an automated email from Gerrit.
Jörg Fischer (turboj@gmx.de) just uploaded a new patch set to Gerrit, which you can \
find at http://openocd.zylin.com/763
-- gerrit
commit 7541669bfc7208f38eee58d255f853285cb22a2c
Author: Joerg Fischer <turboj@gmx.de>
Date: Wed Jul 25 10:10:37 2012 +0200
topic: 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>
diff --git a/tcl/board/hitex_lpc1768stick.cfg b/tcl/board/hitex_lpc1768stick.cfg
new file mode 100644
index 0000000..ed42899
--- /dev/null
+++ b/tcl/board/hitex_lpc1768stick.cfg
@@ -0,0 +1,16 @@
+# Hitex LPC1768 stic
+#
+# http://www.hitex.com/?id=1602
+#
+
+reset_config trst_and_srst srst_push_pull
+
+source [find interface/ftdi/hitex_lpc1768stick.cfg]
+
+set CHIPNAME LPC1768_hitex
+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 0000000..23c0975
--- /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
+
--
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic