I have successfully read from a sd card using the bootfile example mmc.c file that uses disk_read with adma2 transfer.
Now I want to extend this to write to the sd card but there is no matching disk_write function using adma2 in the example code.
Can anyone supply this code, or know where I can find it?
Thanks