usbhostlite bootsector offset

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usbhostlite bootsector offset

388 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by badri89 on Sun Nov 13 03:33:11 MST 2011
hi I am using usbhostlite for reading files from pendrive. I found that this works very well with my transcend pendrive, but in sandisk pendrive its not fetching the files properly.What I found is, in Fat32 a field called as Reserved Sectors is calculated, in that BootSectorOffset(value of 32) is added to the corresponding location in FATBuffer in the original usbhostlite code and its working fine with my transcend flash drive.For SanDisk, if i exclude this bootsector offset value, the files are gettting fetched properly. Can anyone throw some light on what is this bootsector offset? and proper way of calculating the reserved sectors.? Thanks!
0 Kudos
Reply
0 Replies