]> git.sur5r.net Git - openocd/blob - src/target/target/mx31.cfg
tcl config script example
[openocd] / src / target / target / mx31.cfg
1 #use combined on interfaces or targets that can't set TRST/SRST separately
2 reset_config trst_and_srst
3 jtag_speed 10
4
5 #jtag scan chain
6 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
7 # 4 devices otherwise openocd complains, the last one returns 0x0 for all bytes
8 jtag_device 4 0x1 0x0 0xe
9 jtag_device 5 0x1 0x1f 0x1e
10 jtag_device 4 0x0 0x0 0xe
11 jtag_device 5 0x1 0x0 0x1e 
12
13 #target <type> <endianess> <reset mode>
14 target arm11 little reset_halt 1
15 run_and_halt_time 0 0
16