I test example "msd_mfs_generic_test"
C:\Freescale\Freescale USB Stack
v4.1.1\Source\Host\examples\msd_mfs_generic_test
and when use function read in function in first nivel of main, this function
performs ok, but when use this function read with pointer FIL this
function fail.
I wrote a function for text find in file that call function f_read
int f_search_tag_xml(FIL *file, uint32 sequencia, unsigned char
*tag_xml, uint8 fim)
Problem, the firsts bytes that come in buffer, come different. No real
information.
The first byte of file read should be '<' but come '@'.
I used kit tower MCF52259 with TWR-SER
My pendrive was format with FAT32 4096 sector and only file
idiomas.bin in folder idioma
I am send saveral files:
project
file that is in my pendrive
screen shots with problem
file info version
Please, help me.
Pedro
Original Attachment has been moved to: problem_read_file.rar