AnsweredAssumed Answered

I have problem use Freescale USB Stack v4.1.1

Question asked by Pedro Gonzaga da Silva Jr on May 12, 2015

I test example "msd_mfs_generic_test"


C:\Freescale\Freescale USB Stack



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



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:



file that is in my pendrive

screen shots with problem

file info version


Please, help me.


Original Attachment has been moved to: problem_read_file.rar