I have designed a board with LPC1754 and connected a nor flash W25Q64 to it via spi. As the nor flash is not formatable to FAT16 with cmsis FileSystem, I used chan's FatFs in my project and added keil mdk usb device mass storage with cmsis driver. While connecting to pc shows device descriptor correctly and Ii is recognized as a mass storage device but windows can not specify number of disk sectors correctly. Formating and exploring it is not possible.
I have formatted it within a firmware with f_mkfs function and I am almost sure that chan's FatFs works correctly in my project.
I wonder to know if someone have any related experience?