Saturday, January 16, 2010

-lF@2^5 0.3a

fat32 library 0.3a, with high-performance SDHC.

Still have things on the TODO. SDHC runs near the maximum (OpenLog has an 8MHz SPI clock, and I'm transferring just below that). Uart is now interrupt driven. Should work at 115200 baud worst case (allocating and linking a new cluster when needed WRWRW pattern). I noticed my class 2 were busy a lot longer than class 6.

sdhc.o is bigger. 1. I have found other samples and specs so it is a more accurate implementation of the spec. 2. I added a "get number of sectors" function which can be used. 3. The superfast read/write block add a little.

I'm still deciding if this might work better as a library. I need to split the busy-while-write or otherwise handle the case since it is now much larger than the actual transfer of data.

Also the read access time - things might be faster if I did multi-block, but for now I will leave it. It isn't that bad.

Meanwhile I have on order a jpeg trigger and camera from SparkFun. I plan on getting the camera up to 921400 baud, and to use my lib to store onto my EyeFi. DealExtreme has an adapter.

No comments:

Post a Comment