flash Kinetis: add KL28 device
[openocd.git] / tcl / target / nrf52.cfg
blobc1cbf1a21de711c844d232433f00ef6e6ed5cf4e
2 # Nordic nRF52 series: ARM Cortex-M4 @ 64 MHz
5 source [find target/swj-dp.tcl]
7 if { [info exists CHIPNAME] } {
8         set _CHIPNAME $CHIPNAME
9 } else {
10         set _CHIPNAME nrf52
13 if { [info exists CPUTAPID] } {
14         set _CPUTAPID $CPUTAPID
15 } else {
16         set _CPUTAPID 0x2ba01477
19 swj_newdap $_CHIPNAME cpu -expected-id $_CPUTAPID
21 set _TARGETNAME $_CHIPNAME.cpu
22 target create $_TARGETNAME cortex_m -chain-position $_TARGETNAME
24 adapter_khz 10000
26 if { ![using_hla] } {
27         cortex_m reset_config sysresetreq