From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tolunay Orkun Date: Thu, 19 Apr 2007 18:52:43 -0500 Subject: [U-Boot-Users] Spansion flash not detected by CFI driver In-Reply-To: <1177021509.23147.38.camel@localhost> References: <4626CE9C.4000709@orkun.us> <1176997602.23147.13.camel@localhost> <1177001496.23147.23.camel@localhost> <1177017186.23147.31.camel@localhost> <4627E97D.9080101@orkun.us> <1177021509.23147.38.camel@localhost> Message-ID: <462800CB.9010501@orkun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Shiju wrote: > 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. Is this chip capable of buffer writes? It is a new chip. It is described as Stacked Multo-chip Cellular RAM flash. I do not know. You will have to debug a bit to find out why. If your debugging indicates something that should be addressed in the driver please submit a patch... Tolunay