Hi to all, I am working on a project that on that i need to write and read a sector from sd card by using mci driver. I know that i can use file system midellware and connect it to mci driver and working with mci, but interface of that is file but i want to work with sector. Can any one offer me a way to use mci driver and work with sd card in sector resolution??
Take a look at any Middleware USB Device MassStorage example, file USBD_User_MSC_0.c and look for fs_ioc_write_sector and fs_ioc_read_sector functions.