Just on the off-chance I'm reinventing the wheel, are there any C implementations of the DaVinci 4-bit NAND ECC algorithm out there?
I am aware of the C# implementation in the TI flash_utils, looking through it there is more Scary Maths than I anticipated. Planning to reverse-engineer and rewrite it in C, hardcoded for 512 bytes + 4-bit sizing, unless there is a better idea (no, I don't want to use Mono, and it needs to build with GCC.) For context, this is to run on the DM355 so I can calculate ECC in software and write NAND flash in raw mode with different OOB layouts. -- Jon Povey [email protected] 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
