X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fat91sam9.cfg;h=bc90d378fa5df327321d426d73e6167788fd56e4;hb=e6505b04892ccacf75603c3d173616f5d92809e7;hp=08154ceac77ea6ef077894c8a3c6bd83db4c4ed1;hpb=abfd4b19a6b1c1e257aed343af5ab71709f41bcb;p=fw%2Fopenocd diff --git a/tcl/target/at91sam9.cfg b/tcl/target/at91sam9.cfg index 08154ceac..bc90d378f 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,7 +16,7 @@ if { [info exists ENDIAN] } { set _ENDIAN little } -if { [info exists CPUTAPID ] } { +if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { set _CPUTAPID 0x0792603f @@ -24,14 +26,14 @@ 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