Hi,
I have handled my XScale RedBoot problem.
install openocd as svn checkout -r 658 svn://svn.berlios.de/openocd/trunk
and then try these scripts.
#interface Olimex OpenOCD–[begin]
interface ft2232
ft2232_device_desc “Olimex OpenOCD JTAG”
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0003
jtag_speed 16
jtag_ntrst_delay 200
jtag_nsrst_delay 400
#use combined on interfaces or targets that can’t set TRST/SRST separately
#reset_config trst_and_srst srst_pulls_trst
reset_config srst_only
#reset_config trst_and_srst trst_pulls_srst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
#target configuration
daemon_startup reset
#target
#target arm7tdmi
target xscale big reset_init 0 ixp42x
target_script 0 reset ixp425.init
run_and_halt_time 0 30
flash bank cfi 0x50000000 0x1000000 2 2 0
#interface Olimex OpenOCD–[end]
#XScale IXP425 init script–[begin]
wait_halt
set big endian mode
reg XSCALE_CTRL 0xF8
setup expansion bus CS
mww 0xc4000000 0xbd113c42 # CS0: Flash, 16 Bit, write enabled @0x50000000
flash probe 0
#XScale IXP425 init script–[end]
I hope, it works properly.
Sincerely
Bolat DINC