Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

TMS320C6747: FATFS issue

$
0
0

Part Number:TMS320C6747

hi,

      I am running a code on DA830 platform with c6747 dsp processor. I am using USB to provide input file(two files are bring read) and store output file. But , the code is getting aborted on reading the second file(f_gets). On debugging, i observed it is getting aborted at this part of code :

{
clst = get_fat(&fp->obj, fp->clust); /* Follow cluster chain on the FAT */
}
}
if (clst < 2) ABORT(fs, FR_INT_ERR);
if (clst == 0xFFFFFFFF) ABORT(fs, FR_DISK_ERR);
fp->clust = clst;

why is it getting aborted? is it because the size of the input file is exceeding the the size of buffer for f_gets function?The input file's size is 2000 bytes. how do I rectify it?

With Regards 


Viewing all articles
Browse latest Browse all 17527


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>