X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Fhilscher_netx10.cfg;fp=tcl%2Ftarget%2Fnetx500.cfg;h=14ff95da2cb9549b174ef7520e37727bd4fe1e73;hp=04a267babeadf2b6f013e67c851d7c9fac3a2a08;hb=6839618062f07a12bd969da8dc54546f96938b67;hpb=c9544e411dce8e1c9f0513dee55834779f32bcb0 diff --git a/tcl/target/netx500.cfg b/tcl/target/hilscher_netx10.cfg similarity index 52% rename from tcl/target/netx500.cfg rename to tcl/target/hilscher_netx10.cfg index 04a267babe..14ff95da2c 100644 --- a/tcl/target/netx500.cfg +++ b/tcl/target/hilscher_netx10.cfg @@ -1,9 +1,13 @@ -#Hilscher netX 500 CPU +################################################################################ +# Author: Michael Trensch (MTrensch@googlemail.com) +################################################################################ + +#Hilscher netX 10 CPU if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { - set _CHIPNAME netx500 + set _CHIPNAME netx10 } if { [info exists ENDIAN] } { @@ -15,18 +19,13 @@ if { [info exists ENDIAN] } { if { [info exists CPUTAPID ] } { set _CPUTAPID $CPUTAPID } else { - set _CPUTAPID 0x07926021 + set _CPUTAPID 0x25966021 } -# FIXME most reset config belongs in board code -reset_config trst_and_srst -adapter_nsrst_delay 100 -jtag_ntrst_delay 100 - # jtag scan chain jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID # that TAP is associated with a target set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME +target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME