How to write redboot image into cs-e9302 via ARM-USB-OCD?

Hello,

I have olimex arm-usb-ocd JTAG tool and cs-e9302 development board.

I would like to burn redboot image into on board Intel js28f128 strata flash memory.

Cirrus Logic provides with serial port RS232 boot utility with ep93xx series processors, but i do not want to use this utility.

How can i write RedBoot image by using OpenOCD and Olimex ARM-USB-OCD JTAG tool?

Thanks for any Reply…

Bolat DINC

Hello,

At last, i have managed to overcome how to burn boot loader image into starata flash using openocd.

(svn checkout -r 658 svn://svn.berlios.de/openocd/trunk)

By using these config files and init script, you can acces strata flash via OpenOCD without flash probing failure.

#ep9302 OpenOCD config file-----------------------------

#daemon configuration

telnet_port 4444

gdb_port 3333

#interface

interface ft2232

#Olimex ARM-USB-OCD

ft2232_layout olimex-jtag

ft2232_vid_pid 0x15ba 0x0003

ft2232_device_desc “Olimex OpenOCD JTAG”

jtag_speed 0

reset_config trst_and_srst

#jtag scan chain

#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)

jtag_device 4 0x1 0xf 0xe

jtag_nsrst_delay 100

jtag_ntrst_delay 100

#target configuration

daemon_startup reset

#target

target arm920t little reset_init 0

#target_script specifies the flash programming script file

target_script 0 reset cs_ep9301_init.script

working_area 0 0x80014000 0x1000 backup

#flash configuration

#flash bank <chip_width> <bus_width> [driver_options …]

flash bank cfi 0x60000000 0x1000000 2 2 0

#ep9302 init script------------------------------------

let the bootrom finish

bp 0x60000000 4 hw

resume

wait_halt

configure static memory chip select 6 (SMCBCR6)

mww 0x80080018 0x100014a2

configure clocks (CLKSET1 and CLKSET2)

166 MHz operation

mww 0x80930020 0x02b49907

mww 0x80930024 0x300dc317

sleep 100

configure SDRAM

mww 0x8006001c 0x0021002c

sleep 100

mww 0x80060004 0x80000003

sleep 100

mww 0x80060004 0x80000000

mdw 0x00000000

mdw 0x00200000

mdw 0x00400000

mdw 0x00600000

mww 0x80060008 0xa

sleep 100

mww 0x80060008 0x208

mww 0x80060004 0x80000002

mdw 0x4600

mww 0x80060004 0x80000000

flash probe 0

then on the telnet console of the openocd, type,

flash probe 0

flash protect 0 0 2 off

flash write_bank 0 bootloader.bin 0x60000000

flash protect 0 0 2 on

Sincerely.

Bolat DINC