How to copy data from controller to USB?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to copy data from controller to USB?

594 Views
vigneshkumarp
Contributor III

Hi, I'm using my own board of MK20DX128VLF5. Here we need to copy the data from flash memory to the USB pen drive when it is inserted. The copied data is going to be save as .xlsx format. We just want some example code to implement the above concept(copying the data from flash to pen drive in .xlsx format ). Is there any source code and relevant document available for USB programming?

MarMiAmit_KumarpavelrechDavidSkubanbvicentegomezramakrishnanidmartykhumphriMandar‌Deactivated user‌

0 Kudos
1 Reply

363 Views
isaacavila
NXP Employee
NXP Employee

Hello,

This document can guide you to create a new USB Host MSD Project (on Processor Expert) which also adds support for FatFs: https://community.nxp.com/docs/DOC-331376 

Saving data in .xlsx format is not handled in this document, but you can start with a basic USB Host MSD + Fatfs example.

I hope this can help you!

Regards,
Isaac