rendered paste body# openocd.cfg
telnet_port 4444
gdb_port 3333
interface parport
parport_cable wiggler
jtag_speed 0
jtag_nsrst_delay 200
jtag_ntrst_delay 200
# reset_config srst_only srst_pulls_trst
reset_config srst_only srst_pulls_trst
# reset_config srst_only
# Target is an AT91SAM7:
jtag_device 4 0x1 0xf 0xe
## Unlock protection bits
# flash protect 0 0 15 off
#target configuration
daemon_startup reset
target arm7tdmi little run_and_init 0 arm7tdmi_r4
run_and_halt_time 0 30
target_script 0 reset script.ocd
working_area 0 0x40000000 0x4000 nobackup
flash bank at91sam7 0 0 0 0 0