Source code and EAGLE schematic for the mMicroSD peripheral for the M2 (http://medesign.seas.upenn.edu/index.php/Guides/MaEvArM), which allows it to read from and write to a microSD card.