summaryrefslogtreecommitdiff
path: root/src/target/target/imx31.cfg
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-19 09:20:36 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-19 09:20:36 +0000
commit66ef0cee519b9a51419c13b6bdb7191febc20170 (patch)
treef19a618ff963f1cae9dfe0f62566a003396bcf60 /src/target/target/imx31.cfg
parent6bfad873ede29b341b11cfa56d28d73e98b7e2bb (diff)
downloadopenocd+libswd-66ef0cee519b9a51419c13b6bdb7191febc20170.tar.gz
openocd+libswd-66ef0cee519b9a51419c13b6bdb7191febc20170.tar.bz2
openocd+libswd-66ef0cee519b9a51419c13b6bdb7191febc20170.tar.xz
openocd+libswd-66ef0cee519b9a51419c13b6bdb7191febc20170.zip
added wip imx31.cfg file
git-svn-id: svn://svn.berlios.de/openocd/trunk@931 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target/imx31.cfg')
-rw-r--r--src/target/target/imx31.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/target/target/imx31.cfg b/src/target/target/imx31.cfg
new file mode 100644
index 00000000..f38de00e
--- /dev/null
+++ b/src/target/target/imx31.cfg
@@ -0,0 +1,19 @@
+# imx31 config
+#
+# NB! Does not work yet. Work in progress
+
+#jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
+# 4 devices otherwise openocd complains, the last one returns 0x0 for all bytes
+jtag_device 4 0x1 0x0 0xe
+jtag_device 5 0x1 0x1f 0x1e
+#jtag_device 4 0x0 0x0 0xe
+# The device below does not have an IDCODE, so lsb is 1
+jtag_device 4 0x0 0x0 0xf
+jtag_device 5 0x1 0x0 0x1e
+
+jtag_nsrst_delay 500
+jtag_ntrst_delay 500
+
+target arm11 little 1
+