
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