From: Ben Warren Date: Thu, 05 Oct 2006 10:27:39 -0400 Subject: [U-Boot-Users] Can I write to flash using mw command In-Reply-To: <20061003175803.6392.qmail@web33213.mail.mud.yahoo.com> References: <20061003175803.6392.qmail@web33213.mail.mud.yahoo.com> Message-ID: <1160058459.5553.19.camel@saruman.qstreams.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2006-10-03 at 10:58 -0700, bilahari akkiraju wrote: > Hello, > > -> On my target board I have a spansion GL064M flash > device. We use this chip too and it works fine using U-boot's CFI. What is your sector layout (uniform, bottom boot or top boot)? The additional markings on the chip will tell you. > -> I cannot erase, write to flash by implementing the > appropriate command sequences with mw (memory write ) > command provided by u-boot that came with my sdk > (u-boot 1.1.4). > Do the U-boot 'protect' and 'erase commands work? If so, why torture yourself with low-level access? If not, you have a configuration or hardware issue which we can explore. regards, Ben