We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi I have problem on fflush in rl-arm4.13.
fflush doesn't work at all and always zero is result of this function. no data will save on SD card after this function.
but fclose works well.
another problem is about maximum size of file in FAT32, I know it is 0xFFFFFFFF or 4GB byte but with flashFS when the program exceed this size in 1 file there is no any error and continue everything And in my PC I could see the used memory space in this situation for example is more that 4GB but I have one file which is 4GB in size and it's crashed
Indeed I'm using 16GB SDHC transcend Class10
my code is very simple such as below:
while (1){ if (ferror(f)) break; fwrite (&buf[0], 1, BUF_SIZE, f); if (fflush(f)) break; } fclose(f); printf("error has been accured\r\n");
what shall I do? please help me
thanks
Hi I have the same problem .. there is nobody to say something???