fix: auto_erase/verif?
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
source [find target/swj-dp.tcl]
|
||||
source [find interface/jlink.cfg]
|
||||
|
||||
adapter driver jlink
|
||||
transport select swd
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
@@ -33,11 +36,8 @@ target create $_TARGETNAME cortex_m -endian $_ENDIAN -dap $_CHIPNAME.dap
|
||||
# todo: get work area from makefile
|
||||
$_TARGETNAME configure -work-area-phys 0x10001500 -work-area-size $_WORKAREASIZE -work-area-backup 0
|
||||
|
||||
adapter speed 4000
|
||||
adapter speed 3000
|
||||
adapter srst delay 100
|
||||
|
||||
if {![using_hla]} {
|
||||
cortex_m reset_config sysresetreq
|
||||
}
|
||||
cortex_m reset_config vectreset
|
||||
|
||||
$_TARGETNAME configure -event reset-init {amebaz_init}
|
||||
|
||||
Reference in New Issue
Block a user