ArmDev: olimex.cfg

File olimex.cfg, 0.8 kB (added by jfm3, 7 months ago)

openocd configuration for OLIMEX ARM-USB-OCD

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