Re: [Yaffs] Difference between ecc code.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Erickson
Date:  
To: Charles Manning
CC: yaffs
Subject: Re: [Yaffs] Difference between ecc code.
Thanks for the quick response Charles.

When you say "plug and play," how do I switch between the two? That is
to say, the Makefile builds both files, how do I ensure that I am using
one or the other?

--mikee

Charles Manning wrote:
> nand_ecc.c was written by SJ Hill and used as the original ECC file used
> by yaffs..
>
> yaffs_ecc.c is something I wrote to replace it.
>
> yaffs_ecc.c is faster and is more compliant with SmartMedia. Yaffs_ecc.c
> also supports other
> functionality for yaffs2.
>
>
> At present the bootloader uses nand_ecc.c instead of yaffs_ecc.c. It is
> very easy to change this since they are plug and play.
>
> -- Charles
>
>
>
>
>>-----Original Message-----
>>From:
>>[mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of
>>Michael Erickson
>>Sent: Wednesday, 12 January 2005 5:27 a.m.
>>To:
>>Subject: [Yaffs] Difference between ecc code.
>>
>>
>>Hello all,
>>
>>I am working with the direct interface and have a question
>>about the two
>>files; nand_ecc.c and yaffs_ecc.c. Could someone explain the correct
>>usage of these two files to me? Is it something like, use
>>yaffs_ecc for
>>RAM-disk, NOR-flash, and file-emulation and use nand_ecc for
>>NAND chips?
>>
>>Any advice would be appreciated.
>>
>>Thanks,
>>    --mikee

>>
>>--
>>Michael Erickson
>>Senior Software Engineer
>>Logic Product Development
>>(612) 436-5118
>>mailto:mikee@logicpd.com
>>http://www.logicpd.com
>>
>>
>>_______________________________________________
>>yaffs mailing list
>>
>>http://stoneboat.aleph1.co.uk/cgi-> bin/mailman/listinfo/yaffs
>>


--
Michael Erickson
Senior Software Engineer
Logic Product Development
(612) 436-5118
mailto:mikee@logicpd.com
http://www.logicpd.com