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