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