summaryrefslogtreecommitdiff
path: root/doc/configs
diff options
context:
space:
mode:
authorbodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-01-21 20:51:01 +0000
committerbodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-01-21 20:51:01 +0000
commit7d9e292751f4d71ced3253e04a3737efe2c8207d (patch)
tree1df4f9400d3049522da0d3de57097f25a6813664 /doc/configs
parentd7aec2f1e34017ac376ab18ba908ecefd81bfae2 (diff)
downloadopenocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.tar.gz
openocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.tar.bz2
openocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.tar.xz
openocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.zip
- Added example config and startup-script for a XScale IXP42x system
git-svn-id: svn://svn.berlios.de/openocd/trunk@272 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'doc/configs')
-rw-r--r--doc/configs/xscale_ixp42x.cfg40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/configs/xscale_ixp42x.cfg b/doc/configs/xscale_ixp42x.cfg
new file mode 100644
index 00000000..26cccd5e
--- /dev/null
+++ b/doc/configs/xscale_ixp42x.cfg
@@ -0,0 +1,40 @@
+#--- Daemon configuration ------------------------
+telnet_port 4444
+gdb_port 3333
+daemon_startup reset
+
+#--- JTAG interface configuration ----------------
+interface ft2232
+ft2232_device_desc "Amontec JTAGkey A"
+ft2232_layout jtagkey
+ft2232_vid_pid 0x0403 0xcff8
+jtag_speed 0
+jtag_nsrst_delay 200
+jtag_ntrst_delay 200
+
+#-- Reset options available
+reset_config trst_and_srst
+
+#-- jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
+jtag_device 7 0x1 0x7f 0x7e
+
+
+#--- Target Configuration ------------------------
+
+#target <type> <endianess> <startup mode> <jtagpos> <variant>
+#target xscale big reset_init 0 IXP42x
+target xscale big reset_halt 0 IXP42x
+
+target_script 0 reset uc7420-rb.ocd
+
+run_and_halt_time 0 2500
+working_area 0 0x00100000 0x00010000 nobackup
+
+flash bank cfi 0x50000000 0x01000000 2 2 0
+flash bank cfi 0x51000000 0x01000000 2 2 0
+
+
+# For more information about the configuration files, take a look at:
+# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
+