From: Detlev Zundel Date: Tue, 15 Jun 2010 09:54:10 +0200 Subject: [U-Boot] Can not erase first 2 sectors on flash In-Reply-To: (Chen Wen's message of "Mon, 14 Jun 2010 19:38:03 +0800") References: <20100614071545.GA11255@linux1.cs.nctu.edu.tw> 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 Hello Chen, > Thanks for your advice!! > When I try to erase across flash bank,?I get error message before. > "Error: cannot span across banks when they are mapped in reverse order" > > Now I fix the order of banks. > And I can erase sector across flash bank now. Excellent. > But I still found that I can not erase first two sector. Ok, now I have to ask the ever-repeating questions - can you tell us more about the version of U-Boot you are using and the actual Flash chip that you use? Maybe the flash chip has some kind of write protection feature which needs to be taken car of? Cheers Detlev -- Aktiengesellschaft: raffinierte Einrichtung zur pers?nlichen Bereicherung ohne pers?nliche Verantwortung. -- Ambrose Bierce -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de