diff --git a/README.md b/README.md index 6607a55..ec0231a 100644 --- a/README.md +++ b/README.md @@ -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" ``` -## About +# About RTL8710 OpenOCD support is created by Rebane (rebane@alkohol.ee) This document and the attached source code is released under GPLv2. diff --git a/script/rtl8710.ocd b/script/rtl8710.ocd index 226f061..c2f78e8 100644 --- a/script/rtl8710.ocd +++ b/script/rtl8710.ocd @@ -17,8 +17,6 @@ if { [info exists ENDIAN] } { set _ENDIAN little } -# Work-area is a space in RAM used for flash programming -# By default use 2kB if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { @@ -42,8 +40,6 @@ adapter_khz 500 adapter_nsrst_delay 100 if {![using_hla]} { - # if srst is not fitted use SYSRESETREQ to - # perform a soft reset cortex_m reset_config sysresetreq }