USBHostLite includes just FAT16 file system library. Replace it to another one, such as FatFs (FAT12, FAT16 and FAT32) elm-chan.org/.../00index_e.html
Here is an example of FatFs over USBHostLite (LPC17xx).
Interfacing ARM controllers with Memory-Cards www.siwawi.arubi.uni-kl.de/.../index.html Find "ChaN's FAT-Module with LPC17xx SPI/SSP and USB-MSD" paragraph near the bottom.
Above mentioned information, I have gathered from one of the replies in Keil forum. I didn't get the sample codes as mentioned in the comment. First website have a list of file functions and a few links to some blogs and codes. But, I am not sure which one i should refer.
The second mentioned link leads to some German university website.
Can someone please explain.
"OnChip Technologies and NXP Semiconductors have partnered to provide USBHostLite software"
www.nxp.com/.../AN10703.pdf
So you need to contact OnChip Technologies and/or NXP Semiconductors for support - it's not a Keil product.
Thank you for the information.
But hope the first query related to the .zip path may be answered as the reference to the link has been mentioned in the following reply in Keil discussion forum.
"New! RE: usb hostlite fat32 impplementation > Where should I attach the FatFs library in the HostLite?
Did you download the FatFs / USBHostLite (LPC17xx) example on above Martin THOMAS's web page? www.siwawi.arubi.uni-kl.de/.../lpc17xx_chanfat_mthomas_20100715c_pub.zip
He've already done it for you :-)
FatFs accesses to physical media using these routines in diskio.c disk_initialize(), disk_status(), disk_read(), disk_write(), disk_ioctl()
Fill the contents of these routines using, MS_Init(), usb_status, MS_BulkRecv(), MS_BulkSend(), blkSize/numBlks of usbhost_ms.c, respectively.
THOMAS's implementation is, lpc17xx_chanfat_mthomas 2\project\Libraries\fat_sd\diskio.c Look in "case USB:" of each routine.
Tsuneo"
Thank you, Utsav