armv7m_algorithm_t *armv7m_algorithm_info = arch_info;
enum armv7m_mode core_mode = armv7m->core_mode;
int retval = ERROR_OK;
- u32 pc;
int i;
u32 context[ARMV7NUMCOREREGS];
-# script for Insilica IS-5114\r
-\r
-# jtag speed. We need to stick to 16kHz until we've finished reset.\r
-jtag_rclk 16\r
-\r
-reset_config trst_and_srst\r
-\r
-jtag_device 8 0x1 0x1 0xfe\r
-jtag_device 4 0x1 0xf 0xe\r
-jtag_device 5 0x1 0x1 0x1e\r
-\r
-#arm946e-s and \r
-target arm966e little 1 arm966e\r
-\r
-[new_target_name] configure -event reset-start { jtag_rclk 16 }\r
-[new_target_name] configure -event reset-init {\r
- # We can increase speed now that we know the target is halted.\r
- jtag_rclk 3000\r
-}\r
-working_area 0 0x50000000 16384 nobackup\r
+# script for Insilica IS-5114
+
+# jtag speed. We need to stick to 16kHz until we've finished reset.
+jtag_rclk 16
+
+reset_config trst_and_srst
+
+jtag_device 8 0x1 0x1 0xfe
+jtag_device 4 0x1 0xf 0xe
+jtag_device 5 0x1 0x1 0x1e
+
+#arm946e-s and
+target arm966e little 1 arm966e
+
+[new_target_name] configure -event reset-start { jtag_rclk 16 }
+[new_target_name] configure -event reset-init {
+ # We can increase speed now that we know the target is halted.
+ jtag_rclk 3000
+}
+working_area 0 0x50000000 16384 nobackup
-# Target configuration for the Samsung s3c6410 system on chip\r
-# Tested on a SMDK6410\r
-# Processor : ARM1176\r
-# Info: JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0)\r
-\r
-#jtag scan chain\r
-#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)\r
-jtag_device 4 0x1 0xf 0xe\r
-jtag_device 5 0x1 0x1f 0xe\r
-\r
-#target create target0 arm11 -endian little -chain-position 0 -variant arm1176\r
-target arm11 little reset_halt 1\r
-\r
-jtag_nsrst_delay 500\r
-jtag_ntrst_delay 500\r
-\r
-#reset configuration\r
-reset_config trst_and_srst\r
-\r
+# Target configuration for the Samsung s3c6410 system on chip
+# Tested on a SMDK6410
+# Processor : ARM1176
+# Info: JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0)
+
+#jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
+jtag_device 4 0x1 0xf 0xe
+jtag_device 5 0x1 0x1f 0xe
+
+#target create target0 arm11 -endian little -chain-position 0 -variant arm1176
+target arm11 little reset_halt 1
+
+jtag_nsrst_delay 500
+jtag_ntrst_delay 500
+
+#reset configuration
+reset_config trst_and_srst
+
flash bank cfi 0x00000000 0x00100000 2 2 0 jedec_probe
\ No newline at end of file
-# str910-eval eval board\r
-# \r
-# Need reset scripts \r
-reset_config trst_and_srst\r
-\r
-jtag_device 8 0x1 0x1 0xfe\r
-jtag_device 4 0x1 0xf 0xe\r
-jtag_device 5 0x1 0x1 0x1e\r
-\r
-target arm966e little reset_halt 1 arm966e\r
-\r
-working_area 0 0x50000000 16384 nobackup\r
-\r
-flash bank str9xpec 0x00000000 0x00080000 0 0 0\r
-\r
-str9xpec enable_turbo 0\r
-str9xpec options_read 0\r
-str9xpec options_cmap 0 bank 1\r
-str9xpec options_write 0\r
+# str910-eval eval board
+#
+# Need reset scripts
+reset_config trst_and_srst
+
+jtag_device 8 0x1 0x1 0xfe
+jtag_device 4 0x1 0xf 0xe
+jtag_device 5 0x1 0x1 0x1e
+
+target arm966e little reset_halt 1 arm966e
+
+working_area 0 0x50000000 16384 nobackup
+
+flash bank str9xpec 0x00000000 0x00080000 0 0 0
+
+str9xpec enable_turbo 0
+str9xpec options_read 0
+str9xpec options_cmap 0 bank 1
+str9xpec options_write 0