]> git.sur5r.net Git - openocd/blob - src/target/target/hammer.cfg
tcl config script example
[openocd] / src / target / target / hammer.cfg
1 # Target Configuration for the TinCanTools S3C2410 Based Hammer Module
2 # http://www.tincantools.com
3
4 #use combined on interfaces or targets that can't set TRST/SRST separately
5 reset_config trst_and_srst
6
7 #jtag scan chain
8 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
9 jtag_device 4 0x1 0xf 0xe
10
11
12 #target configuration
13 daemon_startup reset
14 #target <type> <endianess> <reset mode>
15 target arm920t little run_and_init 0 arm920t
16
17 # speed up memory downloads
18 arm7 fast_memory_access enable
19 arm7_9 dcc_downloads enable
20
21 target_script 0 reset event/hammer_reset.script
22
23 working_area 0 0x30800000 0x20000 nobackup
24 run_and_halt_time 0 1000
25
26 #flash configuration
27 #flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
28 flash bank cfi 0x00000000 0x1000000 2 2 0