summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-05 15:10:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-05 15:10:07 +0000
commit8b96bf5d454fb7c7ec4416d11ae3eba96762685d (patch)
tree3bcea02bf59447554653685672dce275e90efb39 /nuttx/configs
parentfcf5573c041550aa6660c16bf02cbd958c8edfe4 (diff)
downloadpx4-nuttx-8b96bf5d454fb7c7ec4416d11ae3eba96762685d.tar.gz
px4-nuttx-8b96bf5d454fb7c7ec4416d11ae3eba96762685d.tar.bz2
px4-nuttx-8b96bf5d454fb7c7ec4416d11ae3eba96762685d.zip
Need to 'init' before setting jtag speed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1130 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-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
-