3 #use combined on interfaces or targets that can
\92t set TRST/SRST separately
\r
4 #reset_config trst_and_srst srst_pulls_trst
\r
5 reset_config trst_and_srst srst_pulls_trst
\r
8 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
\r
9 jtag_device 4 0x1 0xf 0xe
\r
11 #jtag nTRST and nSRST delay
\r
12 jtag_nsrst_delay 500
\r
13 jtag_ntrst_delay 500
\r
15 #target configuration
\r
16 daemon_startup reset
\r
18 #target <type> <startup mode>
\r
19 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
\r
20 target arm7tdmi little run_and_halt 0 arm7tdmi
\r
22 run_and_halt_time 0 30
\r
24 working_area 0 0x40000000 0x4000 nobackup
\r
26 #flash bank <driver> <base> <size> <chip_width> <bus_width>
\r
27 flash bank str7x 0x20000000 0x00040000 0 0 0 STR75x
\r
28 flash bank str7x 0x200C0000 0x00004000 0 0 0 STR75x
\r