[U-Boot] U-boot running on DDR fails to detect the CFI compliant flash

Stefan Roese sr at denx.de
Tue Jan 19 17:39:42 CET 2010


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


More information about the U-Boot mailing list