cfg: Fix Kinetis kwikstik/kx config
[openocd.git] / tcl / target / hilscher_netx10.cfg
blob3f96607c6a944cd49a739ff4319ca34ea2cac15c
1 ################################################################################
2 # Author: Michael Trensch (MTrensch@googlemail.com)
3 ################################################################################
5 #Hilscher netX 10 CPU
7 if { [info exists CHIPNAME] } {
8    set _CHIPNAME $CHIPNAME
9 } else {
10    set _CHIPNAME netx10
13 if { [info exists ENDIAN] } {
14    set _ENDIAN $ENDIAN
15 } else {
16    set _ENDIAN little
19 if { [info exists CPUTAPID] } {
20    set _CPUTAPID $CPUTAPID
21 } else {
22    set _CPUTAPID 0x25966021
25 # jtag scan chain
26 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
28 # that TAP is associated with a target
29 set _TARGETNAME $_CHIPNAME.cpu
30 target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME