Anonymous
Not applicable
Nov 28, 2017
01:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 28, 2017
01:33 AM
Hi.
In my project I use FS_FindFirstFile() and FS_FindNextFile() functions in order to list the files on my SD card.
These functions return FS_FIND_DATA structure. One of its fields is FileSize.
I can't see any relation between the numbers I get from this field and the actual files sizes, which I see when I plug the SD card into a PC. According to emFile documentation from Segger, FileSize is "U32 value specifies the size of the file" (U32 = unsigned long).
Anyone else tried to use these functions?
Thanks.
Labels
1 Reply
Dec 07, 2017
04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 07, 2017
04:14 AM
Can you attach the complete project
Thanks,
Hima