I have a FRDM-K64F platform on which I'm experimenting with USB mass storage class. I've taken the 'usb_device_msc_sdcard' example program from KSDK 2.0 and downloaded it to the board. Initially it was very slow but after increasing the USB_DEVICE_MSC_WRITE_BUFF_SIZE and USB_DEVICE_MSC_READ_BUFF_SIZE macros the data rate increased significantly. I've set these two macros to 31232U as this appears to be the maximum value. Any higher and the project will not build. I'm using Kinetis Design Studio. Using this I'm achieving transfer rates of around 700-800 kB/s.
I'm wondering if I can further increase the data rate without making any real software changes/optimisations, - i.e. any quick changes I could make like increasing the above buffer sizes.
I suspect I may need to move to a hardware platform that supports USB High Speed to really hit good transfer rates, but if I can improve the speed on the platform I have at the moment that would be great.