Writing few bytes to MMC

Jul 30, 2007 0 Replies

Hi everybody! Is it possible to write few bytes of data to MMC instead of writing block of 512 bytes. But remember I am asking it for SPI mode. I know it is possible in Multimedia Card Mode but I am using SP protocol. This is the code which I am following for writing single block.


/*-------------------------------------------------------------------- MMC Reset, MMC Initialize, 1 block write and 1 block read and transmit on the UART.



Zaheer snipped-for-privacy@gmail.com



--------------------------------------------------------------------*/



#include #include #include #include #include #include #include



/*CS=Chip Select(MMC) .In AVR CS=SS(Slave Select)*/ #define SPICS_ON() PORTB &= ~(1


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required