summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-05 15:10:07 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-05 15:10:07 +0000
commit29718c3c543a44dae9198cb70cbfcdd4c3b27c3a (patch)
tree3bcea02bf59447554653685672dce275e90efb39 /nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg
parent03e63ffa6faf2824d6aef347bac1c98a4f921f2f (diff)
Need to 'init' before setting jtag speed
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1130 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg')
-rw-r--r--nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg b/nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg
index c9f8d44bcc..ece900669a 100644
--- a/nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg
+++ b/nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg
@@ -10,6 +10,10 @@ jtag_speed 0
jtag_nsrst_delay 20
jtag_ntrst_delay 20
+# Start the OpenOCD daemon and reset the processor
+init
+reset halt
+
# (See /usr/local/lib/openocd/target/str710.cfg)
# Start slow, speed up after reset
jtag_khz 10
@@ -40,7 +44,3 @@ working_area 0 0x2000C000 0x4000 nobackup
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
flash bank str7x 0x400C0000 0x00004000 0 0 0 STR71x
-# Start the OpenOCD daemon and reset the processor
-init
-reset halt
-