AnsweredAssumed Answered

Transfer a file from USB to SD card

Question asked by Andreas Andersson on Nov 21, 2018
Latest reply on Nov 29, 2018 by Mark Butcher

Hi!

 

I'm trying to figure out how to transfer a file from a USB memory to the SD card that is mounted on the MCU FRDM-K64 but dont know realy where to begin.

 

I have looked in to the files in the example usb_host_msd_fatfs that i could find in the SDK for FRDM-K64 but have not really figured out how it works, and the documentation that comes with the example is not enough for me to understand.

 

The problem i want to solve is that when i attach an USB memory to MCU i want it to automaticly transfer a file named "test.txt" and store it on the SD card.

Outcomes