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