I am trying to work with SD-Card, I have encountered a problem when I call the f_mkdir function, after a bit of debugging, the problem is that the function SDMMC_OSAEventGet returns a SDMMC_OSA_EVENT_TRANSFER_CMD_FAIL. After looking into the documentation I couldn't find any explanation why would the function returns a transfer fail flag. I hope someone can give me a clue so I can try to fix the problem.