Hi........ I m using LPC1768 controller. I used USB HOSTLite code supplied by NXP. The code fine for some pen drive(FAT 16) but the same code will not work for other pen drive(which is also FAT 16). After initialization it goes to open MSREAD file in read mode, but if fails to open the file("Could not open file %s\n", FILENAME_R).
while checking entry type in function called FAT_ChkEntType it always switch to LAST_ENTRY and fail to open the file.
so please anyone tell me the problem.............
And you then come to the conclusion that this world have one (1) "the" FAT file system?
What about 12-bit FAT? 16-bit FAT? Or todays favourite FAT-32? VFAT for long file names? Fat with small or large sectors? Small or large clusters? With or without partition table?
By the way - you didn't mention the size of that USB thumb drive.