# # For more information about the configuration files, take a # look at the "Open On-Chip Debugger (openocd)" documentation. # # This config file was tested with OpenOCD version r717 # # daemon configuration telnet_port 4444 gdb_port 3333 # tell gdb our flash memory map # and enable flash programming gdb_memory_map enable gdb_flash_program enable # # interface, if you want to use an other interface # you must replace this section here # #################### interface start #################### interface ft2232 ft2232_device_desc "Turtelizer JTAG/RS232 Adapter" ft2232_layout turtelizer2 ft2232_vid_pid 0x0403 0xbdc8 ##################### interface end ##################### # jtag speed # start slow, speed up after reset jtag_khz 1000 6000 #delays on reset lines jtag_nsrst_delay 200 jtag_ntrst_delay 200 #use combined on interfaces or targets that can't set TRST/SRST separately reset_config srst_only srst_pulls_trst #jtag scan chain #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) jtag_device 4 0x1 0xf 0xe #target #target arm7tdmi target arm7tdmi little run_and_init 0 arm7tdmi run_and_halt_time 0 30 target_script 0 reset eir1ocd.ini working_area 0 0x00200000 0x4000 nobackup #flash bank flash bank at91sam7 0 0 0 0 0 #################### command section #################### # must start with init init reset init