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
4 reset_config trst_and_srst srst_pulls_trst
\r
6 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
\r
7 jtag_device 4 0x1 0xf 0xe
\r
8 #jtag nTRST and nSRST delay
\r
10 jtag_ntrst_delay 500
\r
11 #target configuration
\r
12 daemon_startup reset
\r
13 #target <type> <startup mode>
\r
14 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
\r
15 target arm7tdmi little run_and_halt 0 arm7tdmi
\r
16 run_and_halt_time 0 30
\r
17 working_area 0 0x40000000 0x4000 nobackup
\r
18 #flash bank <driver> <base> <size> <chip_width> <bus_width>
\r
19 flash bank str7x 0x20000000 0x000040000 0 0 0 STR75x
\r