Charles, Again thanks for the reply. Does any sample code exist for a NOR device? Specifically, I'm wondering about the proper handling of chunks and blocks. - Will a block of NOR flash (in my case 64K) correspond to a YAFFS block? - When YAFFS calls the function "eraseBlockInNAND()" exported via the yaffsfs_DeviceConfiguration structure, is it expecting me to erase an entire block of NOR flash? Thanks, --mikee Charles Manning wrote: > 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 = 528 bytes. > Therefore each block can hold 64K/528 = 124 chunks. > > So, set chunksPerBlock to 124 and away you go! > > -- Charles > > >>-----Original Message----- >>From: yaffs-admin@stoneboat.aleph1.co.uk >>[mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of >>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. >> >> >>Hello all, >> >>I am working on integrating the direct interface into our bootloader >>environment. Currently, I have read and write capabilities >>working with >>the RAM-disk. I want to move on to making the file system persistent >>across power-cycles. To do this, I want to try and use an >>array of NOR >>flash on my device. We have some NAND flash as well, but I >>know that the >>NOR interface is correct, so I want to try it first. Does anyone have >>any advice on how to proceed or things to look out for? >> >>Thanks, >> --mikee >> >>-- >>Michael Erickson >>Senior Software Engineer >>Logic Product Development >>(612) 436-5118 >>mailto:mikee@logicpd.com >>http://www.logicpd.com >> >> >>_______________________________________________ >>yaffs mailing list >>yaffs@stoneboat.aleph1.co.uk >>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