summaryrefslogtreecommitdiff
path: root/cleopatre/tools/openocd-r668
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/tools/openocd-r668')
-rw-r--r--cleopatre/tools/openocd-r668/config/mse500.cfg50
-rw-r--r--cleopatre/tools/openocd-r668/config/mse500.ocd0
2 files changed, 50 insertions, 0 deletions
diff --git a/cleopatre/tools/openocd-r668/config/mse500.cfg b/cleopatre/tools/openocd-r668/config/mse500.cfg
new file mode 100644
index 0000000000..417a2d77b8
--- /dev/null
+++ b/cleopatre/tools/openocd-r668/config/mse500.cfg
@@ -0,0 +1,50 @@
+#DAEMON CONFIGURATION
+telnet_port 4444
+gdb_port 3333
+
+#INTERFACE
+interface ft2232
+ft2232_layout jtagkey
+ft2232_vid_pid 0x1457 0x5118
+#ft2232_latency 10
+#jtag_speed 1 #(0 full speed)
+jtag_khz 1000 #(0 full speed)
+
+#TARGET RESET DELAY
+jtag_nsrst_delay 250
+jtag_ntrst_delay 250
+
+#TARGET RESET SCHEME
+#use combined on interfaces or targets that can't set trst/srst separately
+reset_config trst_and_srst
+#reset_config trst_only
+#reset_config srst_only
+
+#JTAG SCAN CHAIN
+#jtag_device <Length> <IR Capture> <IR Capture Mask> <IDCODE>
+jtag_device 4 0x1 0xf 0xe
+
+#TARGET CONFIGURATION
+daemon_startup reset
+
+#target <type> <endianness> <reset mode> <chainpos> <variant>
+target arm926ejs little reset_init 0 arm926ejs
+#target arm926ejs little reset_run 0 arm926ejs
+#target arm926ejs little reset_halt 0 arm926ejs
+#target arm926ejs little run_and_halt 0 arm926ejs
+
+#SCRIPT
+target_script 0 reset ../config/mse500.ocd
+
+#WORKING AREA
+working_area 0 0x20000000 0x00002000 nobackup # SRAM 8k
+
+#RUN CONFIGURATION
+#run_and_halt_time 0 30
+
+#FLASH CONFIGURATION
+#flash bank cfi <base> <size> <chip_width> <bus_width> <option>
+flash bank spc300 0x30000000 0x400000 1 1 0 m25p32 4166666 0
+
+# For more information about the configuration files, take a look at:
+# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
diff --git a/cleopatre/tools/openocd-r668/config/mse500.ocd b/cleopatre/tools/openocd-r668/config/mse500.ocd
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/cleopatre/tools/openocd-r668/config/mse500.ocd