]> git.sur5r.net Git - openocd/commitdiff
Alan Carvalho de Assis <acassis@gmail.com> imx27 config file
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 2 Nov 2008 18:59:31 +0000 (18:59 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 2 Nov 2008 18:59:31 +0000 (18:59 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1122 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/Makefile.am
src/target/target/imx27.cfg [new file with mode: 0644]

index fc32be75c3a3fd49c1a989bb56e96c2d871768ff..6a9465b8a75927d504a553f5b125219b90b7702b 100644 (file)
@@ -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 (file)
index 0000000..6d3cd6b
--- /dev/null
@@ -0,0 +1,12 @@
+#use combined on interfaces or targets that can't set TRST/SRST separately\r
+reset_config trst_and_srst\r
+\r
+# There are 2 taps on the chip:\r
+# The ETM\r
+jtag_device 4 0x1 0xf 0xe\r
+# The ARM926EJS\r
+jtag_device 4 0x1 0xf 0xe\r
+\r
+# Note above there are 2 taps (#0 and #1) the ARM926 is the 2nd tap (ie #1)\r
+target create target0 arm926ejs -endianess little -chain-position 1 -variant arm926ejs\r
+\r