How to implement "Delete" function in "usbd_storage_if.c", since when deleting files from windows, the icon disappears, but when refreshed, file appears again with zero size.
Hi.
I`m generating a project from stm32cudemx version 6.1.2
The MCU I use is a stm32f407v with my own designed board
The f4 series firmware package version I use is 1.25.2
My project consists of usb msc device only, with sd card connecting through SDIO, DMA enabled, using fatfs library
What I wanna do is to create files through fatfs into the sdcard, and handle these file in windows, while the board is connected to my PC through usb.
I can cut and copy files from\to sdcard, but when I press "delete" in windows, the file icon disappears like it is removed, but when I press refresh, or when I disconnect and connect again the usb, or when I connect the card to pc through a card reader, the deleted file appears again with size of zero.
Can any body tell me whats wrong here?????