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:
parent
04177405d6
commit
5998f42625
@ -11,6 +11,10 @@ jtag_speed 0
|
|||||||
jtag_nsrst_delay 200
|
jtag_nsrst_delay 200
|
||||||
jtag_ntrst_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)
|
# (See /usr/local/lib/openocd/target/str710.cfg)
|
||||||
# Start slow, speed up after reset
|
# Start slow, speed up after reset
|
||||||
jtag_khz 10
|
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 0x40000000 0x00040000 0 0 0 STR71x
|
||||||
flash bank str7x 0x400C0000 0x00004000 0 0 0 STR71x
|
flash bank str7x 0x400C0000 0x00004000 0 0 0 STR71x
|
||||||
|
|
||||||
# Start the OpenOCD daemon and reset the processor
|
|
||||||
init
|
|
||||||
reset halt
|
|
||||||
|
|
||||||
|
@ -10,6 +10,10 @@ jtag_speed 0
|
|||||||
jtag_nsrst_delay 20
|
jtag_nsrst_delay 20
|
||||||
jtag_ntrst_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)
|
# (See /usr/local/lib/openocd/target/str710.cfg)
|
||||||
# Start slow, speed up after reset
|
# Start slow, speed up after reset
|
||||||
jtag_khz 10
|
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 0x40000000 0x00040000 0 0 0 STR71x
|
||||||
flash bank str7x 0x400C0000 0x00004000 0 0 0 STR71x
|
flash bank str7x 0x400C0000 0x00004000 0 0 0 STR71x
|
||||||
|
|
||||||
# Start the OpenOCD daemon and reset the processor
|
|
||||||
init
|
|
||||||
reset halt
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user