]>
Commit | Line | Data |
---|---|---|
1 | #define our ports | |
2 | telnet_port 4444 | |
3 | gdb_port 3333 | |
4 | ||
5 | #commands specific to the Olimex arm-usb-ocd | |
6 | interface ft2232 | |
7 | # Be careful to reflect the exact description here: | |
8 | ft2232_device_desc "Olimex OpenOCD JTAG" | |
9 | ft2232_layout "olimex-jtag" | |
10 | ft2232_vid_pid 0x15BA 0x0003 | |
11 | jtag_speed 2 | |
12 | jtag_nsrst_delay 200 | |
13 | jtag_ntrst_delay 200 | |
14 | ||
15 | #reset_config <signals> [combination] [trst_type] [srst_type] | |
16 | reset_config srst_only srst_pulls_trst | |
17 | ||
18 | #jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction> | |
19 | jtag_device 4 0x1 0xf 0xe | |
20 | ||
21 | #daemon_startup <'attach'|'reset'> | |
22 | daemon_startup reset | |
23 | ||
24 | #target <type> <endianess> <reset_mode> <jtag#> [variant] | |
25 | target arm7tdmi little run_and_init 0 arm7tdmi_r4 | |
26 | ||
27 | #run_and_halt_time <target#> <time_in_ms> | |
28 | run_and_halt_time 0 30 | |
29 |