#daemon configuration telnet_port 4444 gdb_port 3333 #interface interface ft2232 ft2232_device_desc "Flyswatter" ft2232_layout "flyswatter" ft2232_vid_pid 0x0403 0x6010 jtag_khz 300 #use combined on interfaces or targets that can't set TRST/SRST separately #reset_config trst_and_srst #setup targets (copy from /usr/share/openocde/scripts/target/) set CPUTAPID 0x0032409d set ENDIAN little set CHIPNAME s3c2410 script [find target/samsung_s3c2410.cfg] #reset_config trst_and_srst srst_pulls_trst #flash configuration #flash bank [driver_options ...] flash bank cfi 0x00000000 0x1000000 2 2 s3c2410.cpu #starting to flash the hammer #with apex.bin, zImage, rootfs.arm.ext2.gz script ./hammerflash_all.ocd