X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Favr32.cfg;h=932b750514e1a1c6f1d217b5993a9375a0eaee09;hp=7fe98b2ce4dad3aa212072169097a6e878c2043c;hb=ca45e700b1c57caca2ef08e665e3c7e3e02ac8d3;hpb=c54c323cf3b6b26c9d27d8bc4237daca4ba18e66 diff --git a/tcl/target/avr32.cfg b/tcl/target/avr32.cfg index 7fe98b2ce4..932b750514 100644 --- a/tcl/target/avr32.cfg +++ b/tcl/target/avr32.cfg @@ -1,8 +1,7 @@ -set _CHIPNAME avr32 -set _ENDIAN big +set _CHIPNAME avr32 +set _ENDIAN big -# force an error till we get a good number -set _CPUTAPID 0x21e8203f +set _CPUTAPID 0x21e8203f jtag_nsrst_delay 100 jtag_ntrst_delay 100 @@ -11,7 +10,7 @@ reset_config trst_and_srst separate # jtag scan chain # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) -jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID +jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID set _TARGETNAME [format "%s.cpu" $_CHIPNAME] target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME