Hello,<br>I have a board with flash part S71WS256N. I was using CFI driver and<br>didn&#39;t had any problems programming the device. But from today I am<br>getting an unusual error while writing to flash sectors. It always gives
<br>erase successful. But when I try to write data after erase, I get a<br>message that the flash is not erased. I use uboot-1.2. Below is the<br>debug message on running saveenv. Could someone help me to resolve this<br>
problem.<br><br><br>Saving Environment to Flash...<br>Protect off A0060000 ... A007FFFF<br>Un-Protecting sectors 6..6 in bank 1<br>fwc addr a0060000 cmd 50 0050 16bit x 16 bit<br>fwc addr a0060000 cmd 60 0060 16bit x 16 bit
<br>fwc addr a0060000 cmd d0 00d0 16bit x 16 bit<br>flash_is_busy: 0<br>. done<br>Un-Protected 1 sectors<br>Erasing Flash...Erase Flash from 0xa0060000 to 0xa007ffff in Bank # 1<br>fwc addr a0060aaa cmd aa 00aa 16bit x 16 bit
<br>fwc addr a0060554 cmd 55 0055 16bit x 16 bit<br>fwc addr a0060aaa cmd 80 0080 16bit x 16 bit<br>fwc addr a0060aaa cmd aa 00aa 16bit x 16 bit<br>fwc addr a0060554 cmd 55 0055 16bit x 16 bit<br>fwc addr a0060000 cmd 30 0030 16bit x 16 bit
<br>flash_is_busy: 0<br>done<br>Erased 1 sectors<br>Writing to Flash... Flash not Erased<br>Protecting sectors 6..6 in bank 1<br>fwc addr a0060000 cmd 50 0050 16bit x 16 bit<br>fwc addr a0060000 cmd 60 0060 16bit x 16 bit
<br>fwc addr a0060000 cmd 1 0001 16bit x 16 bit<br>flash_is_busy: 0<br>. done<br>Protected 1 sectors<br><br>Thanks,<br>Shiju<br><br>