#daemon configuration | |
telnet_port 4444 | |
gdb_port 3333 | |
#interface | |
interface parport | |
parport_port 0x378 | |
parport_cable wiggler | |
jtag_speed 2 | |
#use combined on interfaces or targets that can't set TRST/SRST separately | |
reset_config trst_and_srst 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 configuration | |
daemon_startup reset | |
#target <type> <startup mode> | |
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant> | |
target arm7tdmi little run_and_init 0 arm7tdmi | |
run_and_halt_time 0 30 | |
working_area 0 0x40000000 0x40000 nobackup | |
#flash configuration | |
flash bank at91sam7 0 0 0 0 0 | |
target_script 0 reset program.script |