1 #start slow, speed up after reset
3 proc target_0_pre_reset {} {
6 proc target_0_post_reset {} {
10 #use combined on interfaces or targets that can't set TRST/SRST separately
11 reset_config trst_and_srst srst_pulls_trst
14 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
15 jtag_device 4 0x1 0xf 0xe
17 #target <type> <startup mode>
18 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
19 target arm7tdmi little 0 arm7tdmi
20 run_and_halt_time 0 30
22 target_script 0 gdb_program_config event/str710_program.script
25 working_area 0 0x2000C000 0x4000 nobackup
27 #flash bank str7x <base> <size> 0 0 <target#> <variant>
28 flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
29 flash bank str7x 0x400C0000 0x00004000 0 0 0 STR71x
31 # For more information about the configuration files, take a look at:
32 # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger