#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 500 #setup targets (copy from /usr/share/openocde/scripts/target/) set CPUTAPID 0x0032409d set ENDIAN little set CHIPNAME s3c2410 # finds the script in /usr/share/openocd/scripts script [find target/samsung_s3c2410.cfg] #script ./hammer.ocd #flash configuration #flash bank [driver_options ...] flash bank cfi 0x00000000 0x1000000 2 2 s3c2410.cpu #previous line gives a warning about target indentifier, not '0'