Hello, I want to implement the FAT32 file system on USB host port for AT91SAM9260.My application is to to read/write the .txt file from the mass storage device. so please help me regarding to this topic....thank you..
www.lmgtfy.com
elm-chan.org/.../00index_e.html
Hello andrew, Thanx for the reply. I am facing one problem in the chk_mounted() routine,that is "Check record signature" (always placed at offset 510 even if the sector size is >512), the return value is no file system initialized. kindly elaborate on how to solve this problem. Thank you...
Well - is the connected memory formatted?
No,connected memory is not formatted. As i said, my application is to read the existing file from the mass storage device. I am having code of usb hostlite fat 32 implementation on lpc2468 for reference and http://www.keil.com/forum/20503/
So - not formatted. Then that first sector will not have any file system signature. So the code will obviously not find any.
And the very big question then: Why you ask us what to do, when the answer has to be that you need to format the memory? Without formatting, there are no FAT-32 on the memory. And no file because you don't have any file system to store the file in. So your program just can't read any file.
You can't mount a file system that doesn't exist. So make it exist.
Actually i am not much familiar to this and this is the first time i am doing such task (implementing file system), so will you please tell me steps to implement the fat32 for usb host? I have completed the code up to mass storage driver initialization successfully.so what should be next step so that i can check it with whatever i have done... Thanx...
I checked it with the formatted one, but still having the same problem.... please tell me the section where i should find out the cause of problem. Thank you...
View all questions in Keil forum