- Added example config and startup-script for a XScale IXP42x system
[fw/openocd] / doc / configs / xscale_ixp42x.cfg
1 #--- Daemon configuration ------------------------
2 telnet_port 4444
3 gdb_port 3333
4 daemon_startup reset
5
6 #--- JTAG interface configuration ----------------
7 interface ft2232
8 ft2232_device_desc "Amontec JTAGkey A"
9 ft2232_layout jtagkey
10 ft2232_vid_pid 0x0403 0xcff8
11 jtag_speed 0
12 jtag_nsrst_delay 200
13 jtag_ntrst_delay 200
14
15 #-- Reset options available
16 reset_config trst_and_srst
17
18 #-- jtag scan chain
19 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
20 jtag_device 7 0x1 0x7f 0x7e
21
22
23 #--- Target Configuration ------------------------
24
25 #target <type> <endianess> <startup mode> <jtagpos> <variant>
26 #target xscale big reset_init 0 IXP42x
27 target xscale big reset_halt 0 IXP42x
28
29 target_script 0 reset uc7420-rb.ocd
30
31 run_and_halt_time 0 2500
32 working_area 0 0x00100000 0x00010000 nobackup
33
34 flash bank cfi 0x50000000 0x01000000 2 2 0
35 flash bank cfi 0x51000000 0x01000000 2 2 0
36
37
38 # For more information about the configuration files, take a look at:
39 # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
40