#daemon configuration telnet_port 4444 gdb_port 3333 # REFERENCE: http://www.olimex.com/dev/arm-usb-tiny.html interface ft2232 ft2232_device_desc "Olimex OpenOCD JTAG TINY A" ft2232_layout olimex-jtag jtag_speed 4 #use combined on interfaces or targets that can't set TRST/SRST separately reset_config trst_and_srst #jtag scan chain #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) jtag_device 4 0x1 0xf 0xe #target arm7tdmi target arm7tdmi little 0 arm7tdmi-s_r4 working_area 0 0x00400000 32768 nobackup flash bank lpc288x 0 0 0 0 0 10000000 init halt mww 0x8000405C 1 mww 0x80004060 1 mww 0x80004064 1 mww 0x80104018 130 mww 0x80104008 1 mww 0x80104004 6 flash protect 0 0 21 off flash erase_sector 0 0 21 flash write_bank 0 main.bin 0 reset shutdown