From: [email protected] > 1. Boot system using SD card > 2. On UBOOT_SD prompt, we are writing 512 Bytes of data (any value) to > NAND (after erasing) using NAND driver hacked from "NAND Programmer" > 3. After writing, we read back data > 4. We can see that data and ECC are matching with the written data and > ECC > 5. EMIF gives same error i.e. ECC_STATE bit of NANDFSR > register is set > > It is seen that same NAND Driver code from "NAND Programmer" > project is > working successfully using JTAG emulator. > > As I am writing 512 Bytes I guess this should not have any > difference if > NAND is of 2KB or 4KB. > > Any thoughts why EMIF see error (more than four) even though data and > ECC read are correct?
I don't know very much about this, but I think you have to reset the ECC calculation engine (by register writes) at the right time before reading your data, then read the correct amount of data in the right order. If the data on chip is definitely right I would look into that. Just an idea. -- Jon Povey, Design Engineer [email protected] | +44(0)1280 825983 Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
