]>
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 Dongle | |
6 | interface ft2232 | |
7 | ft2232_device_desc "Olimex OpenOCD JTAG" | |
8 | ft2232_layout "olimex-jtag" | |
9 | ft2232_vid_pid 0x15BA 0x0003 | |
10 | jtag_speed 2 | |
11 | jtag_nsrst_delay 200 | |
12 | jtag_ntrst_delay 200 | |
13 | ||
14 | #reset_config <signals> [combination] [trst_type] [srst_type] | |
15 | reset_config srst_only srst_pulls_trst | |
16 | ||
17 | #jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction> | |
18 | jtag_device 4 0x1 0xf 0xe | |
19 | ||
20 | #daemon_startup <'attach'|'reset'> | |
21 | daemon_startup reset | |
22 | ||
23 | #target <type> <endianess> <reset_mode> <jtag#> [variant] | |
24 | target arm7tdmi little run_and_init 0 arm7tdmi_r4 | |
25 | ||
26 | #run_and_halt_time <target#> <time_in_ms> | |
27 | run_and_halt_time 0 30 | |
28 | ||
29 | # commands below are specific to AT91sam7 Flash Programming | |
30 | # --------------------------------------------------------- | |
31 | ||
32 | #target_script specifies the flash programming script file | |
33 | target_script 0 reset script.ocd | |
34 | ||
35 | #working_area <target#> <address> <size> <'backup'|'nobackup'> | |
36 | working_area 0 0x40000000 0x4000 nobackup | |
37 | ||
38 | #flash bank at91sam7 0 0 0 0 <target#> | |
39 | flash bank at91sam7 0 0 0 0 0 |