Probe Flash (SST39VF1601) problem

Hi

I would like to seek advise from those who had used the SST flash. Whenever I tried to probe for the flash, it will always give me error saying :

"Could not probe bank

probing failed for flash bank “#1” at 0x80000000"

Below is my cfg file :

===========================================

#interface

interface ft2232

ft2232_device_desc “Olimex OpenOCD JTAG A”

ft2232_layout “olimex-jtag”

ft2232_vid_pid 0x15BA 0x0003

jtag_speed 20

#use combined on interfaces or targets that can’t set TRST/SRST separately

reset_config trst_and_srst separate

#jtag scan chain

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

jtag_device 4 0x1 0xf 0xe

#target configuration

daemon_startup reset

#target

#target arm7tdmi

target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4

run_and_halt_time 0 30

working_area 0 0x40000000 0x4000 nobackup

#flash configuration

flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14745 calc_checksum

flash bank cfi 0x80000000 0x200000 2 2 0

=========================================

After I run the cfg file, I opened my Telnet and run the following script to try to erase my flash :

==========================================

resume

sleep 100

halt

Mww 0xe002c014 0x0f814914

Mww 0xffe00000 0x1000ffef

Mww 0xffe00004 0x1000ffef

sleep 100

flash banks

sleep 500

flash probe 1

—> This is where I always get the error message of not able to probe the bank

===========================================

Could there be anything wrong with my address / script / cfg file ?

Hope someone can advise me what to do.

Thanks alot