X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fat91sam9.cfg;h=e6b297dcd8d8c8c60522410b59b221f8153e9108;hb=54a8640df0420185962e1c31936f2c691de4167a;hp=ba0197d90b0cc42c2ca5f87dfdef7b04d6014a26;hpb=e941805713fd2ad8b7f9740ae789b8a1f5b645ff;p=openocd.git diff --git a/tcl/target/at91sam9.cfg b/tcl/target/at91sam9.cfg index ba0197d90b..e6b297dcd8 100644 --- a/tcl/target/at91sam9.cfg +++ b/tcl/target/at91sam9.cfg @@ -14,16 +14,14 @@ 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