From: Date: Thu, 11 Oct 2012 05:38:59 -0000 Subject: No subject Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de sent. But the function you mentioned detect that flash is not erased. Are you using a 16bit port for data connection to the flash ? First check i would do is an "erase" test. = Try to erase some sectors with "erase" command, something like # erase 40000 4ffff Then dump the memory, (to be sure also with BDM eventually), to see if it has really been erased. Also, these are some settings i am using in my config, maybe they can = be useful: /* * Start addresses for the final memory configuration * (Set up by the startup code) * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 */ #define CONFIG_SYS_SDRAM_BASE 0x00000000 #define CONFIG_SYS_SDRAM_SIZE 16 /* in MB */ #define CONFIG_SYS_FLASH_BASE 0xffc00000 #define CONFIG_SYS_TEXT_BASE 0xffc00000 #define CONFIG_SYS_MAX_FLASH_BANKS 1 #define CONFIG_SYS_MAX_FLASH_SECT 1024 #define CONFIG_SYS_FLASH_ERASE_TOUT 1000 /* * CFI FLASH driver setup */ #define CONFIG_SYS_FLASH_CFI #define CONFIG_FLASH_CFI_DRIVER #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE ... Let us know if you find something. Regards, Angelo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Information contained and transmitted by this e-mail is confidential and pr= oprietary to iGATE and its affiliates and is intended for use only by the r= ecipient. If you are not the intended recipient, you are hereby notified th= at any dissemination, distribution, copying or use of this e-mail is strict= ly prohibited and you are requested to delete this e-mail immediately and n= otify the originator or mailadmin at igate.com . i= GATE does not enter into any agreement with any party by e-mail. Any views = expressed by an individual do not necessarily reflect the view of iGATE. iG= ATE is not responsible for the consequences of any actions taken on the bas= is of information provided, through this email. The contents of an attachme= nt to this e-mail may contain software viruses, which could damage your own= computer system. While iGATE has taken every reasonable precaution to mini= mise this risk, we cannot accept liability for any damage which you sustain= as a result of software viruses. You should carry out your own virus check= s before opening an attachment. To know more about iGATE please visit www.i= gate.com . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~