From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiju Mathew Date: Thu, 03 May 2007 14:40:20 -0400 Subject: [U-Boot-Users] Flash Erase/Write error in uboot In-Reply-To: <46391A5B.1090403@orkun.us> References: <20070502002918.CB4EF353AF1@atlas.denx.de> <1178123087.27349.7.camel@localhost> <46391A5B.1090403@orkun.us> Message-ID: <1178217620.9372.6.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 2007-02-05 at 18:10 -0500, Tolunay Orkun wrote: > Shiju Mathew wrote: > > On Wed, 2007-02-05 at 02:29 +0200, Wolfgang Denk wrote: > > > > > Does this happen with DEBUG enabled? Did you check with DEBUG disabled? > I noticed that DEBUG distrupts some of the registers used for status > checking... > > If you have to have DEBUG enabled for testing something else please put > #undef DEBUG towards the beginning of cfi_flash.c (after #include etc) Looks likes some other issue. On our Freescale imx31 ADS board we have connected an extension board(RAM like device) to CS1 through the logical analyser interface. The problem happens when I connect the extension board(even without powering up the extension board). If I remove the extension board the flash erase/writes are successfull. Thanks, Shiju