NAND/MX2: remove private "target" copy
[openocd/jflash.git] / tcl / target / avr32.cfg
blob7fe98b2ce4dad3aa212072169097a6e878c2043c
1 set  _CHIPNAME avr32
2 set  _ENDIAN big
4 # force an error till we get a good number
5 set _CPUTAPID  0x21e8203f
7 jtag_nsrst_delay 100
8 jtag_ntrst_delay 100
10 reset_config trst_and_srst separate
12 # jtag scan chain
13 # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
14 jtag newtap $_CHIPNAME cpu -irlen 5  -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID
16 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
17 target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME