[U-Boot-Users] Flash Erase/Write error in uboot

Shiju Mathew
2007-05-02T00:22:59Z

Hello,
I have a board with flash part S71WS256N. I was using CFI driver and
didn't had any problems programming the device. But from today I am
getting an unusual error while writing to flash sectors. It always gives
erase successful. But when I try to write data after erase, I get a
message that the flash is not erased. I use uboot-1.2. Below is the
debug message on running saveenv. Could someone help me to resolve this
problem.

Saving Environment to Flash...
Protect off A0060000 ... A007FFFF
Un-Protecting sectors 6..6 in bank 1
fwc addr a0060000 cmd 50 0050 16bit x 16 bit
fwc addr a0060000 cmd 60 0060 16bit x 16 bit
fwc addr a0060000 cmd d0 00d0 16bit x 16 bit
flash_is_busy: 0
. done
Un-Protected 1 sectors
Erasing Flash...Erase Flash from 0xa0060000 to 0xa007ffff in Bank # 1
fwc addr a0060aaa cmd aa 00aa 16bit x 16 bit
fwc addr a0060554 cmd 55 0055 16bit x 16 bit
fwc addr a0060aaa cmd 80 0080 16bit x 16 bit
fwc addr a0060aaa cmd aa 00aa 16bit x 16 bit
fwc addr a0060554 cmd 55 0055 16bit x 16 bit
fwc addr a0060000 cmd 30 0030 16bit x 16 bit
flash_is_busy: 0
done
Erased 1 sectors
Writing to Flash... Flash not Erased
Protecting sectors 6..6 in bank 1
fwc addr a0060000 cmd 50 0050 16bit x 16 bit
fwc addr a0060000 cmd 60 0060 16bit x 16 bit
fwc addr a0060000 cmd 1 0001 16bit x 16 bit
flash_is_busy: 0
. done
Protected 1 sectors

Thanks,
Shiju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070501/37649788/attachment.htm