summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-11-02 18:59:31 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-11-02 18:59:31 +0000
commitd0b1e6ebaa10071db106309dbb8273f8af730ed4 (patch)
tree3cac39c4ee1a452872ec6648f69066b95d2c5c9b /src
parent4631fb2dc7219d32622e3de67e9ca290b314bb33 (diff)
downloadopenocd_libswd-d0b1e6ebaa10071db106309dbb8273f8af730ed4.tar.gz
openocd_libswd-d0b1e6ebaa10071db106309dbb8273f8af730ed4.tar.bz2
openocd_libswd-d0b1e6ebaa10071db106309dbb8273f8af730ed4.tar.xz
openocd_libswd-d0b1e6ebaa10071db106309dbb8273f8af730ed4.zip
Alan Carvalho de Assis <acassis@gmail.com> imx27 config file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1122 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/Makefile.am3
-rw-r--r--src/target/target/imx27.cfg12
2 files changed, 14 insertions, 1 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am
index fc32be75..6a9465b8 100644
--- a/src/target/Makefile.am
+++ b/src/target/Makefile.am
@@ -38,7 +38,8 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin target/at91eb40a.cfg \
interface/flyswatter.cfg target/hammer.cfg \
interface/olimex-jtag-tiny-a.cfg \
target/pic32mx.cfg target/aduc702x.cfg interface/dummy.cfg interface/olimex-arm-usb-ocd.cfg target/s3c2440.cfg \
- interface/openocd-usb.cfg target/test_syntax_error.cfg target/test_reset_syntax_error.cfg
+ interface/openocd-usb.cfg target/test_syntax_error.cfg target/test_reset_syntax_error.cfg \
+ target/imx27.cfg
diff --git a/src/target/target/imx27.cfg b/src/target/target/imx27.cfg
new file mode 100644
index 00000000..6d3cd6be
--- /dev/null
+++ b/src/target/target/imx27.cfg
@@ -0,0 +1,12 @@
+#use combined on interfaces or targets that can't set TRST/SRST separately
+reset_config trst_and_srst
+
+# There are 2 taps on the chip:
+# The ETM
+jtag_device 4 0x1 0xf 0xe
+# The ARM926EJS
+jtag_device 4 0x1 0xf 0xe
+
+# Note above there are 2 taps (#0 and #1) the ARM926 is the 2nd tap (ie #1)
+target create target0 arm926ejs -endianess little -chain-position 1 -variant arm926ejs
+