diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-06 21:59:35 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-06 21:59:35 +0000 |
commit | 5aa7985bc7156eb357c08e33bcf7de0596634433 (patch) | |
tree | 0a6bd87c022383f11e075a690b31e8d72e5232f0 /src/target | |
parent | dddb561d2558ebc7f418ac0395aaed212c38797d (diff) | |
download | openocd_libswd-5aa7985bc7156eb357c08e33bcf7de0596634433.tar.gz openocd_libswd-5aa7985bc7156eb357c08e33bcf7de0596634433.tar.bz2 openocd_libswd-5aa7985bc7156eb357c08e33bcf7de0596634433.tar.xz openocd_libswd-5aa7985bc7156eb357c08e33bcf7de0596634433.zip |
- remove build warnings
- added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@1142 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/armv7m.c | 1 | ||||
-rw-r--r-- | src/target/target/is5114.cfg | 40 | ||||
-rw-r--r-- | src/target/target/smdk6410.cfg | 38 | ||||
-rw-r--r-- | src/target/target/str910-eval.cfg | 38 |
4 files changed, 58 insertions, 59 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c index 3897c231..2258967a 100644 --- a/src/target/armv7m.c +++ b/src/target/armv7m.c @@ -340,7 +340,6 @@ int armv7m_run_algorithm(struct target_s *target, int num_mem_params, mem_param_ 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]; diff --git a/src/target/target/is5114.cfg b/src/target/target/is5114.cfg index a370ff3d..56c8685c 100644 --- a/src/target/target/is5114.cfg +++ b/src/target/target/is5114.cfg @@ -1,20 +1,20 @@ -# 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
+# 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 diff --git a/src/target/target/smdk6410.cfg b/src/target/target/smdk6410.cfg index bae87a52..0dd71742 100644 --- a/src/target/target/smdk6410.cfg +++ b/src/target/target/smdk6410.cfg @@ -1,20 +1,20 @@ -# 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
-
+# 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 diff --git a/src/target/target/str910-eval.cfg b/src/target/target/str910-eval.cfg index b77e0eaa..276bb48a 100644 --- a/src/target/target/str910-eval.cfg +++ b/src/target/target/str910-eval.cfg @@ -1,19 +1,19 @@ -# 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
+# 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 |