]> git.sur5r.net Git - openocd/commitdiff
added wip imx31.cfg file
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 19 Aug 2008 09:20:36 +0000 (09:20 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 19 Aug 2008 09:20:36 +0000 (09:20 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@931 b42882b7-edfa-0310-969c-e2dbd0fdcd60

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

index 47a22a1630ffd2082bb1cc4047a526e3d04f92ed..9ae960a8a9d19f8c58d2d14314eaa2d613cb76f0 100644 (file)
@@ -31,6 +31,7 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin target/at91eb40a.cfg \
        target/omap5912.cfg target/pxa270.cfg target/str750.cfg target/str9comstick.cfg \
        target/str730.cfg target/stm32stick.cfg event/str710_program.script \
        target/lm3s811.cfg interface/luminary.cfg interface/luminary-libftdi.cfg interface/luminary-lm3s811.cfg \
+       target/imx31.cfg \
        interface/stm32-stick.cfg interface/calao-usb-a9260-c01.cfg interface/calao-usb-a9260-c02.cfg \
        interface/calao-usb-a9260.cfg target/at91sam9260minimal.cfg  \
        interface/chameleon.cfg interface/at91rm9200.cfg interface/jlink.cfg interface/arm-usb-ocd.cfg \
diff --git a/src/target/target/imx31.cfg b/src/target/target/imx31.cfg
new file mode 100644 (file)
index 0000000..f38de00
--- /dev/null
@@ -0,0 +1,19 @@
+# imx31 config\r
+#\r
+# NB! Does not work yet. Work in progress\r
+\r
+#jtag scan chain\r
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)\r
+# 4 devices otherwise openocd complains, the last one returns 0x0 for all bytes\r
+jtag_device 4 0x1 0x0 0xe\r
+jtag_device 5 0x1 0x1f 0x1e\r
+#jtag_device 4 0x0 0x0 0xe\r
+# The device below does not have an IDCODE, so lsb is 1\r
+jtag_device 4 0x0 0x0 0xf\r
+jtag_device 5 0x1 0x0 0x1e\r
+\r
+jtag_nsrst_delay 500\r
+jtag_ntrst_delay 500\r
+\r
+target arm11 little 1\r
\r