RA6M4 USB Host

Hello,

I want to write data to a USB Device. And I created a project but I didn't use FSP. I initialized Disk using globally defined structure variables.

When I wrote some characters to a .txt file which is created before, I couldn't see data when I inserted it to PC. But ff_fwrite function returns the exact value of written characters.

Could you help me to fix writing problem?

Kind Regards,

Note: The project is attached.RA6_USB_Host2.rar