Guys,
I tried to read 512 bytes from a file with FatFS,
When I read 512 bytes from a text file, it was ok,
but by the time I read from Mp3 file,
I got only the first 3 bytes of the file,
Anyone knows why ? or there's another trick to read mp3 files ?
Thanks
if (f_open(&Fil, "air1.mp3", FA_READ) == FR_OK) { f_read(&Fil, line, sizeof line, &bw); usart_pstr("\n\nReading file 512 bytes \n\n"); usart_pstr(line); f_close(&Fil); usart_pstr("\n\nFinished reading 512 bytes\n\n"); }