5 proc target_0_pre_reset {} {
8 proc target_0_post_reset {} {
13 #use combined on interfaces or targets that can
\92t set TRST/SRST separately
14 #reset_config trst_and_srst srst_pulls_trst
15 reset_config trst_and_srst srst_pulls_trst
18 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
19 jtag_device 4 0x1 0xf 0xe
21 #jtag nTRST and nSRST delay
28 #target <type> <startup mode>
29 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
30 target arm7tdmi little 0 arm7tdmi
32 run_and_halt_time 0 30
34 target_script 0 gdb_program_config event/str730_program.script
36 working_area 0 0x40000000 0x4000 nobackup
38 #flash bank <driver> <base> <size> <chip_width> <bus_width>
39 flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x