- jtag_khz/speed are now single parameter only. These are used
[fw/openocd] / src / target / target / str710.cfg
1 #start slow, speed up after reset
2 jtag_khz 10
3 proc target_0_pre_reset {} {
4         jtag_khz 10
5 }
6 proc target_0_post_reset {} {
7         jtag_khz 6000
8 }
9
10 #use combined on interfaces or targets that can't set TRST/SRST separately
11 reset_config trst_and_srst srst_pulls_trst
12
13 #jtag scan chain
14 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
15 jtag_device 4 0x1 0xf 0xe
16
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
21
22 target_script 0 gdb_program_config event/str710_program.script
23
24
25 working_area 0 0x2000C000 0x4000 nobackup
26
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
30
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