From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiju Date: Thu, 19 Apr 2007 18:25:07 -0400 Subject: [U-Boot-Users] Spansion flash not detected by CFI driver In-Reply-To: <4627E97D.9080101@orkun.us> References: <4626CE9C.4000709@orkun.us> <1176997602.23147.13.camel@localhost> <1177001496.23147.23.camel@localhost> <1177017186.23147.31.camel@localhost> <4627E97D.9080101@orkun.us> Message-ID: <1177021509.23147.38.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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