X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fat91sam9.cfg;h=bc90d378fa5df327321d426d73e6167788fd56e4;hb=HEAD;hp=ba0197d90b0cc42c2ca5f87dfdef7b04d6014a26;hpb=e941805713fd2ad8b7f9740ae789b8a1f5b645ff;p=openocd.git diff --git a/tcl/target/at91sam9.cfg b/tcl/target/at91sam9.cfg index ba0197d90b..bc90d378fa 100644 --- a/tcl/target/at91sam9.cfg +++ b/tcl/target/at91sam9.cfg @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + ###################################### # Target: Atmel AT91SAM9 ###################################### @@ -14,26 +16,24 @@ if { [info exists ENDIAN] } { set _ENDIAN little } -if { [info exists CPUTAPID ] } { +if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { - # force an error till we get a good number set _CPUTAPID 0x0792603f } reset_config trst_and_srst separate trst_push_pull srst_open_drain -# jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID -adapter_nsrst_delay 300 +adapter srst delay 300 jtag_ntrst_delay 200 -jtag_rclk 3 +adapter speed 3 ###################### # Target configuration ###################### set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs +target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME