blob: f5ee1a4866a21d1e2d22f5e692bb18ce67cfd678 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
set _CHIPNAME avr32
set _ENDIAN big
set _CPUTAPID 0x21e8203f
adapter_nsrst_delay 100
jtag_ntrst_delay 100
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
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME
|