finetuning

This commit is contained in:
rebane 2016-08-23 10:10:17 +03:00
parent 4b443f625d
commit e0e2b289d1
2 changed files with 1 additions and 5 deletions

View file

@ -36,7 +36,7 @@ openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c
``` ```
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "rtl8710_flash_auto_erase 1" -c "rtl8710_flash_auto_verify 1" -c "rtl8710_flash_write dump.bin 0" -c "shutdown" openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "rtl8710_flash_auto_erase 1" -c "rtl8710_flash_auto_verify 1" -c "rtl8710_flash_write dump.bin 0" -c "shutdown"
``` ```
## About # About
RTL8710 OpenOCD support is created by Rebane (rebane@alkohol.ee) RTL8710 OpenOCD support is created by Rebane (rebane@alkohol.ee)
This document and the attached source code is released under GPLv2. This document and the attached source code is released under GPLv2.

View file

@ -17,8 +17,6 @@ if { [info exists ENDIAN] } {
set _ENDIAN little set _ENDIAN little
} }
# Work-area is a space in RAM used for flash programming
# By default use 2kB
if { [info exists WORKAREASIZE] } { if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE set _WORKAREASIZE $WORKAREASIZE
} else { } else {
@ -42,8 +40,6 @@ adapter_khz 500
adapter_nsrst_delay 100 adapter_nsrst_delay 100
if {![using_hla]} { if {![using_hla]} {
# if srst is not fitted use SYSRESETREQ to
# perform a soft reset
cortex_m reset_config sysresetreq cortex_m reset_config sysresetreq
} }