8295f5e68e7548a6db4d90202d7ca8b118bd8a84
[fw/openocd] / tcl / target / avr32.cfg
1 set _CHIPNAME avr32
2 set _ENDIAN big
3
4 set _CPUTAPID 0x21e8203f
5
6 adapter srst delay 100
7 jtag_ntrst_delay 100
8
9 reset_config trst_and_srst separate
10
11 # jtag scan chain
12 # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
13 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID
14
15 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
16 target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME