From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 19 Jan 2010 17:39:42 +0100 Subject: [U-Boot] U-boot running on DDR fails to detect the CFI compliant flash In-Reply-To: References: <4B55BA83.4050505@ge.com> Message-ID: <201001191739.42817.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 19 January 2010 17:22:33 prakash bedge wrote: > What I find is *VERY* helpful when trying to understand flash control > issues is to *manually* do the QRY write sequence (see your flash data > sheet) by using memory write/read commands from the u-boot command prompt > I tested the same using "mw" and "md" commands from uboot prompt for read > CFI query command. But test failed. > > Log details: > mw 0xfc000000 0xf0 > mw 0xfc000055 0x98 > md 0xfc000010 Please make sure to use the byte commands instead: => mw.b 0xfc000000 0xf0 => mw.b 0xfc000055 0x98 => md.b 0xfc000010 Otherwise you will access the FLASH 32bit wise. Please re-check with this version. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de