Hi All,
I use the TM4C123G sd-demo to complete my project,I want to read bmp photo information through FATFS,a problem is occured:
char buffer[6000];
res = f_open(&file,"ceo.bmp", FA_OPEN_ALWAYS | FA_READ);
if(res==FR_OK)
{
res = f_read(&file, buffer, sizeof(char), &br);
}
when I add the f_read function to read BMP information, the progrm can not work normally, program will run away after the f_open, I don't know why,