]> git.sur5r.net Git - openocd/blob - src/target/target/str730.cfg
retired reset run_and_init/halt
[openocd] / 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 arm7tdmi little 0 arm7tdmi
26
27
28
29 target_script 0 gdb_program_config event/str730_program.script
30
31 working_area 0 0x40000000 0x4000 nobackup
32
33 #flash bank <driver> <base> <size> <chip_width> <bus_width>
34 flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x
35