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