Duane Ellis: "target as an [tcl] object" feature.
[fw/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 arm920t little 0 arm920t
13 [new_target_name] configure -event old-post_reset { script event/hammer_reset.script }
14
15 # speed up memory downloads
16 arm7 fast_memory_access enable
17 arm7_9 dcc_downloads enable
18
19
20 working_area 0 0x30800000 0x20000 nobackup
21
22
23 #flash configuration
24 #flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
25 flash bank cfi 0x00000000 0x1000000 2 2 0