- jtag_khz/speed are now single parameter only. These are used
[openocd.git] / src / target / target / str730.cfg
1 #STR730 CPU
2
3
4 jtag_khz 3000
5 proc target_0_pre_reset {} {
6         jtag_khz 10
7 }
8 proc target_0_post_reset {} {
9         jtag_khz 3000
10 }
11
12
13 #use combined on interfaces or targets that can\92t set TRST/SRST separately
14 #reset_config trst_and_srst srst_pulls_trst
15 reset_config trst_and_srst srst_pulls_trst
16
17 #jtag scan chain
18 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
19 jtag_device 4 0x1 0xf 0xe
20
21 #jtag nTRST and nSRST delay
22 jtag_nsrst_delay 500
23 jtag_ntrst_delay 500
24
25 #target configuration
26 daemon_startup reset
27
28 #target <type> <startup mode>
29 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
30 target arm7tdmi little 0 arm7tdmi
31
32 run_and_halt_time 0 30
33
34 target_script 0 gdb_program_config event/str730_program.script
35
36 working_area 0 0x40000000 0x4000 nobackup
37
38 #flash bank <driver> <base> <size> <chip_width> <bus_width>
39 flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x
40