I'm looking for a working example of an USB MSD on the FRDM-KL25Z platform, using CW for MCU v 10.5 and Freescale USB Stack 4.1.1.
The bundled example below compiles, but a block write to the device returns a success code (# of bytes written) while subsequent readbacks show that the contents remain unmodified.
C:\Freescale\Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx\.cproject
I think the example is a bit suspect because it only creates a 1024-byte (2x 512 byte block) disk. I've tried larger RAM sizes, but the original problem of "pretending to write" remains.