# Target Configuration for the TinCanTools S3C2410 Based Hammer Module # http://www.tincantools.com #use combined on interfaces or targets that can't set TRST/SRST separately reset_config trst_and_srst #jtag scan chain #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) jtag_device 4 0x1 0xf 0xe target create target0 arm920t -endian little -chain-position 0 -variant arm920t [new_target_name] configure -work-area-virt 0 -work-area-phys 0x40800000 -work-area-size 0x20000 -work-area-backup 0 [new_target_name] configure -event reset-init { script event/hammer_reset.script } # speed up memory downloads arm7 fast_memory_access enable arm7_9 dcc_downloads enable #flash configuration #flash bank [driver_options ...] flash bank cfi 0x00000000 0x1000000 2 2 0