flash settings for IPX425 with JTAG Key+OpenOCD

Hi all,

I am quite new to working with JTAG and embedded systems, so please be kind with me if I do not post all the information neccessary or if I miss something important.

I am successfully running the latest OpenOCD trunk with the Amontec JTAGkey cable on Linux, connected to my Xscale IPX425 board (seems to be a standard reference design layout by Intel). Maybe my config file is wrong or missing something in general - help would be most welcome!

I would now like to flash the boot loader (RedBoot) on the IPX425, but do not know how to set up the config-file for OpenOCD to do so.

My xscale.cfg-file so far:

#daemon configuration
telnet_port 4444
gdb_port 3333

#interface
interface ft2232
ft2232_device_desc "Amontec JTAGkey A"
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
jtag_speed 2

#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst

#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 <type> <startup mode>
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
target xscale big run_and_halt 0 IXP42x
run_and_halt_time 0 30

I would like to know what to configure for flash access, or what information one would need to get a working configuration:

#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]

Can anyone help me on this or point me in the right direction?

Best regards,

sps

Hello superpupsi,

on a IXP425 board, this flash configuration should work:

flash bank cfi 0x50000000 0x1000000 2 2 0

This is valid for 16 bit chips connected to a 16 bit bus. My board has 32 MB flash, thus size == 0x1000000.

Hope it helps

Henning