updated guidelines.
[fw/openocd] / src / target / target / str912.cfg
1 jtag_nsrst_delay 100
2 jtag_ntrst_delay 100
3
4 jtag_khz 16 2000
5
6 #use combined on interfaces or targets that can't set TRST/SRST separately
7 reset_config trst_and_srst
8
9 #jtag scan chain
10 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
11 jtag_device 8 0x1 0x1 0xfe
12 jtag_device 4 0x1 0xf 0xe
13 jtag_device 5 0x1 0x1 0x1e
14
15 #target <type> <startup mode>
16 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
17 target arm966e little reset_halt 1 arm966e
18 run_and_halt_time 0 30
19
20 target_script 0 reset event/str912_reset.script
21
22 working_area 0 0x50000000 16384 nobackup
23
24 #flash bank str9x <base> <size> 0 0 <target#> <variant>
25 flash bank str9x 0x00000000 0x00080000 0 0 0
26 flash bank str9x 0x00080000 0x00008000 0 0 0
27
28 # For more information about the configuration files, take a look at:
29 # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger