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