summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/configs/olimex-strp711/scripts/oocd_ftdi.cfg8
-rw-r--r--nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg8
2 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/configs/olimex-strp711/scripts/oocd_ftdi.cfg b/nuttx/configs/olimex-strp711/scripts/oocd_ftdi.cfg
index f8c5d386e..edfccaf57 100644
--- a/nuttx/configs/olimex-strp711/scripts/oocd_ftdi.cfg
+++ b/nuttx/configs/olimex-strp711/scripts/oocd_ftdi.cfg
@@ -11,6 +11,10 @@ jtag_speed 0
jtag_nsrst_delay 200
jtag_ntrst_delay 200
+# 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
@@ -41,7 +45,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
-
diff --git a/nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg b/nuttx/configs/olimex-strp711/scripts/oocd_wiggler.cfg
index c9f8d44bc..ece900669 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
-