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
This commit is contained in:
patacongo 2008-11-05 15:10:07 +00:00
parent 6657881ac4
commit 80a2ac8742
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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