From mboxrd@z Thu Jan 1 00:00:00 1970 From: w.wegner at astro-kom.de Date: Mon, 30 Jul 2007 11:36:12 +0200 Subject: [U-Boot-Users] U-boot for MCF5329 In-Reply-To: <4791E710007FEB4BBF83775D787F462F048C8177@az33exm22.fsl.freescale.net> References: <4791E710007FEB4BBF83775D787F462F047A346F@az33exm22.fsl.freescale.net>, <46AA1BD7.10627.BA57192@w.wegner.astro-kom.de>, <4791E710007FEB4BBF83775D787F462F048C8177@az33exm22.fsl.freescale.net> Message-ID: <46ADCD2C.22758.6732D2@w.wegner.astro-kom.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 27 Jul 2007 at 17:34, Liew Tsi Chung-r5aahp wrote: > Wolfgang, > > Check your NOR flash model make sure your flash algorithm able to support -B and -T version, u-boot CFI driver able to configure both model. Also, unlock the Read only bit in u-boot (prot off bank #) before you use the BDM. Some flash will lock itself after reset, if I recall correctly, M5329EVB Intel flash JS28F160C3 is one of them. > > IMPORTANT NOTE: Intel flash has a feature that will lock certain block permanently. Make sure not writing to this bit. Otherwise, you have to replace the whole flash. > > Regards, > TsiChung TsiChung, thank you for the hint and warning. I will have a look at it, but from U-Boot, accessing the flash seems to work perfectly (apart from writing being slower as with the BDM interface). It is the BDM interface I have problems with when writing to certain locations. Regards, Wolfgang