2017-02-18 08:18 AM
Hello!
I am doing a usb mass storage with stm32 f4 discovery with micro sd card to copy files from computer to micro sd card I was read at this link :
http://microtechnics.ru/en/stm32-i-usb-mass-storage-sd-card/&sharpcomment-16154
http://microtechnics.ru/en/stm32-i-usb-mass-storage-sd-card/&sharpcomment-16154
. but my micro sd card is not saving files after I restart kit or unplug usb jack. sorry for my bad English!!! help me please!!!
#usb-msc-mass-storage #mass-storage #mass2017-02-18 02:05 PM
Not something I can debug for you. You'd want to verify how the MicroSD card is connected on your board, and the pull-ups on the pins. Assuming this is an original STM32F4-DISCO board and you've wired a card/socket yourself. You'd want to build some test code to verify that the SDIO peripheral can successfully read and write the media.
You would also want to Eject and safely remove the MSC from the PC to ensure the data is flushed to the media from the caches.