2 #use combined on interfaces or targets that can
\92t set TRST/SRST separately
\r
3 reset_config trst_and_srst srst_pulls_trst
\r
5 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
\r
6 jtag_device 4 0x1 0xf 0xe
\r
7 #target configuration
\r
9 #target <type> <startup mode>
\r
10 #target arm7tdmi <endianness> <reset mode> <chainpos> <variant>
\r
11 target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4
\r
12 run_and_halt_time 0 30
\r
13 working_area 0 0x40000000 0x4000 nobackup
\r
14 #flash bank <driver> <base> <size> <chip_width> <bus_width>
\r
15 flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum
\r