Is it possible to monitor the file copy status by the program in MSC mode? Like file copy from SD card is in progress, file copy completed etc? If yes, what is the method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-27 10:30 PM
I am using stm32 L4 family microcontroller. I enabled MSC mode to copy files from SD card mounted to device to PC. But I want to know how can I monitor the status from my code running in MCU? My program should check whether file copy in progress, completed etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-27 11:53 PM
You would want to monitor the sector access, mostly writes, against the file structures on those given sectors. File system would tend to update directory entry last.
Process a bit involved, not looking to carry task.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-03 4:41 AM
Hi,
Thanks for the suggestions. Can you please share the link/example code which supports this (If available).
I am looking for a simple method to indicate user that file copying from device to PC is in progress by blinking LED (LED will blink only if there is file copy). Is there a simple solution?
