X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fsim3x.cfg;h=e6bea70e232b929f4701cd56e547a10a7dbb70c1;hb=5ffc745ea39393d2fc2772bf11e996e237463004;hp=f721f36c87a0a1b6c6ec5b2f6960c76485b616e0;hpb=bdbe78f13114d9aed125af682c9efb454cb1c115;p=fw%2Fopenocd diff --git a/tcl/target/sim3x.cfg b/tcl/target/sim3x.cfg old mode 100755 new mode 100644 index f721f36c8..e6bea70e2 --- a/tcl/target/sim3x.cfg +++ b/tcl/target/sim3x.cfg @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # # Silicon Laboratories SiM3x Cortex-M3 # @@ -38,18 +40,19 @@ if { [info exists WORKAREASIZE] } { } swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID +dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME cortex_m -chain-position $_TARGETNAME +target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE set _FLASHNAME $_CHIPNAME.flash flash bank $_FLASHNAME sim3x 0 $_CPUROMSIZE 0 0 $_TARGETNAME -adapter_khz 1000 +adapter speed 1000 -adapter_nsrst_delay 100 +adapter srst delay 100 if {[using_jtag]} { jtag_ntrst_delay 100 }