Skip to main content
Khairul Akmal Zulkepli
Associate II
March 11, 2021
Question

My question is can USB CDC be used to transfer text file from an SD card to PC the same way as we copy a file from a USB Flash drive?

I try to make a data logger, I'm using STM32F407 DISCOVERY and store the data into the SD. I have to use the USB port for communication between STM to PC for logging status. Eventually, after recording, I want to download the file the same way we copy a file from USB Flash drive.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
March 11, 2021

That would be a USB MSC

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Khairul Akmal Zulkepli
Associate II
March 11, 2021

Hai, Thanks, if I set the USB to MSC, then I will lose the CDC function right?.. It is possible to interchange between both in the same USB port?