This sample code uses M258 to connects to the computer via a USB port to be implemented as a mass storage class device, and accesses the FAT file system on USB DISK. It also demonstrates how to write data to a PDF file on the USB DISK. The user can use the microcontroller as a general external USB flash drive to read PDF file on a personal computer.
Please note that the sample code is also applicable to M252 series.