[Yaffs] Using YAFFS with an array of NOR flash.

Charles Manning Charles.Manning@trimble.co.nz
Wed, 12 Jan 2005 11:03:47 +1300


Many people have done YAFFS on NOR and indeed there are some shipping
products using this.

YAFFS does not do erase suspend, so garbage collection is a bit slow.
Still, it should be fine for testing purposes.
Let's say you have a block size of 64kB.
Each "chunk" needs 512 data bytes + 16 spare bytes =3D 528 bytes.
Therefore each block can hold 64K/528 =3D 124 chunks.

So, set chunksPerBlock to 124 and away you go!

-- Charles

> -----Original Message-----
> From: yaffs-admin@stoneboat.aleph1.co.uk=20
> [mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of=20
> Michael Erickson
> Sent: Wednesday, 12 January 2005 5:29 a.m.
> To: yaffs@stoneboat.aleph1.co.uk
> Subject: [Yaffs] Using YAFFS with an array of NOR flash.
>=20
>=20
> Hello all,
>=20
> I am working on integrating the direct interface into our bootloader=20
> environment. Currently, I have read and write capabilities=20
> working with=20
> the RAM-disk. I want to move on to making the file system persistent=20
> across power-cycles. To do this, I want to try and use an=20
> array of NOR=20
> flash on my device. We have some NAND flash as well, but I=20
> know that the=20
> NOR interface is correct, so I want to try it first. Does anyone have=20
> any advice on how to proceed or things to look out for?
>=20
> Thanks,
> 	--mikee
>=20
> --=20
> Michael Erickson
> Senior Software Engineer
> Logic Product Development
> (612) 436-5118
> mailto:mikee@logicpd.com
> http://www.logicpd.com
>=20
>=20
> _______________________________________________
> yaffs mailing list
> yaffs@stoneboat.aleph1.co.uk=20
> http://stoneboat.aleph1.co.uk/cgi-> bin/mailman/listinfo/yaffs
>=20