The easy part is reading/writing chunks of data to the sd card via spi. You would use a state machine to send various commands along with the contents of a block of ram. Only marginally more difficult, but faster, is to use the 4 bit data bus (4x faster??) And use this module instead of a spi module. The HARD part is to implement fat32. I see theres also an AVR compatible softcore and AVR mmc libraries but wow thats complicated.
http://www.opencores.com/projects.cgi/w ... i/overview
Same interface as HC11 which you might be familiar with. And it has wishbone interface (whatever that means).