openocd + pxa270 + intel strata = Low Programming Voltage

Hi ALL!

Some time ago i erase a bootloader on my arm device…

Now i try to repair it with JTAG via wiggler and OpenOCD.

I can connect to device, can work with it, can read memory, can unlock flash, but cannot erase/write it.

Device have 2 banks Intel Strata 28F256L30.

target state: halted

target halted in ARM state due to debug-request, current mode: Supervisor

cpsr: 0x000000d3 pc: 0x00000000

MMU: disabled, D-Cache: disabled, I-Cache: disabled

(processor reset)

Info : Flash Manufacturer/Device: 0x0089 0x8816

Warn : expected one protection register field, but found 2

Warn : configuration specifies 0x2000000 size, but a 0x2000000 size flash was found

flash ‘cfi’ found at 0x00000000

When i try to write image to flash

flash write_image 1.2.5-hp.rom 0x0 bin

Using target buffer at 0x5c000038 and of size 0x8000

Write 0x8000 bytes to flash at 0x00000000

status register: 0x98

Low Programming Voltage Detected, Operation Aborted

Program Error / Error in Setting Lock-Bit

error writing to flash at address 0x00000000 at offset 0x00000000 (-902)

Command handler execution failed

in procedure ‘flash’ called at file “command.c”, line 650

called at file “command.c”, line 361

I compile latest svn version, but have same result.

Also i try to comment/edit source code in cfi.c…

Also check power voltage, it’s ok - 3.3 volts.

status register: 0x98 in [datasheet page 20 says:

Mode: Read

Code: 0x98

Device Mode: Read Query

Description: Places the addressed partition in Read Query mode. Subsequent reads from the partition addresses output Common Flash Interface information on D[7:0].

So can anyone explain me what to do?](File 28f256l30.pdf | allcomponents.ru)