| 1 | #daemon configuration |
|---|
| 2 | telnet_port 4444 |
|---|
| 3 | gdb_port 3333 |
|---|
| 4 | |
|---|
| 5 | #interface |
|---|
| 6 | interface ft2232 |
|---|
| 7 | ft2232_device_desc "Olimex OpenOCD JTAG" |
|---|
| 8 | ft2232_layout olimex-jtag |
|---|
| 9 | ft2232_vid_pid 0x15ba 0x0003 |
|---|
| 10 | jtag_speed 0 |
|---|
| 11 | #use combined on interfaces or targets that can't set TRST/SRST separately |
|---|
| 12 | reset_config trst_and_srst srst_pulls_trst |
|---|
| 13 | |
|---|
| 14 | #jtag scan chain |
|---|
| 15 | #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) |
|---|
| 16 | jtag_device 4 0x1 0xf 0xe |
|---|
| 17 | |
|---|
| 18 | #target configuration |
|---|
| 19 | daemon_startup reset |
|---|
| 20 | #target <type> <startup mode> |
|---|
| 21 | #target arm7tdmi <reset mode> <chainpos> <endianness> <variant> |
|---|
| 22 | target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4 |
|---|
| 23 | target_script 0 reset h2294_init.script |
|---|
| 24 | run_and_halt_time 0 30 |
|---|
| 25 | working_area 0 0x40000000 0x40000 nobackup |
|---|
| 26 | |
|---|
| 27 | #flash configuration |
|---|
| 28 | flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum |
|---|
| 29 | flash bank cfi 0x80000000 0x400000 2 2 0 |
|---|