Hi,
I have modified "usb_msd_fatfs_mpc5748g" example program.
I want to read data from pen drive (attached to usb on the Dev-kit) and print the content of the file on to Termite. Please tell me how to do.
I have shared the screenshot of the uart terminal. I have also attached my project.
Krishnaja.
Hi,
if you take closer look at the sample code, you will find this function in the sample project: Generic_MsdFatfsTests
It should give a clue together with FatsFs documentation how to access the files.
Regards,
Lukas
Hi,
I found it.
I got clue from "task_fatfs_f_open_f_read" ---->"f_read(&fd, g_dataRead, sizeof(g_dataRead), &bytesRead);".
Krishnaja.