
On Thu, 2007-19-04 at 17:13 -0500, Tolunay Orkun wrote:
Shiju wrote:
I have another update. THe protect/unprotect failure was happening only when I was using h/w protect enable. I disabled h/w protect to see whether everything else goes well. But timeout happens on write as well. Below is the log message.
uboot> cp.b 0x80000000 0xa0000000 $(filesize) Copy to Flash... Flash buffer write timeout at address a0000000 data c68686c6 Timeout writing to Flash uboot>
After disabling the buffered writes, write timeout doesn't happen. ALso protect/unprotect works well when h/w protect is enabled. Is there a way to use buffered writes on this flash device.
Try disabling debug outputs in CFI driver. I've seen writes do fail when debug output is enabled.
I tested disabling the debug outputs. Still writes and protect/unprotect fails if CFG_FLASH_USE_BUFFER_WRITE is defined.
Thanks, Shiju