3 # NB! Does not work yet. Work in progress
\r
6 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
\r
7 # 4 devices otherwise openocd complains, the last one returns 0x0 for all bytes
\r
8 jtag_device 4 0x1 0x0 0xe
\r
9 jtag_device 5 0x1 0x1f 0x1e
\r
10 #jtag_device 4 0x0 0x0 0xe
\r
11 # The device below does not have an IDCODE, so lsb is 1
\r
12 jtag_device 4 0x0 0x0 0xf
\r
13 jtag_device 5 0x1 0x0 0x1e
\r
15 jtag_nsrst_delay 500
\r
16 jtag_ntrst_delay 500
\r
18 target arm11 little 1
\r