I am currently "playing" with SD-Cards (SPI-Mode) and RL-FlashFS.
1) Is there a way to get the "Drive Label" of the Card? 2) Is there an offical interface function to get the FAT formating infos? (E.g. if it is FAT12 or FAT16 or FAT32, sector sizes...) 3) How does the journaling option work? Is this a standard feature of FAT? (I thought FAT including FAT32 is an FS without journal.) Or is this just a special trink of Keil? - Does it depend on how the card is formated to use the journaling? 4) Currently, if I create files / folders with lower case letters only, they will always be created in upper case letters. (If files with lowercase letters are created in Windows on the card - and displayed in lower case letters in Windows -> RL-FlashFS will display them in upper case.) 5) Is there a way to check M: for consitency? (like fcheck for RL-FlashFS drives R: / S: / F:) 6) If I perform fformat("M:") and afterwards reboot the system, there is a lot of trash on the card. If I perform fformat("M:") and create a file afterwards, after a reboot, all is ok. 7) If I enable the cash (MC_CSIZE), fformat("M:") returns an error
Note that I currently use RLARM 4.13. In 4.22, some problems are probably solved? Thanks in advance for any infos.
What do you mean with #1?
The volume label - a directory entry with the 0x08 flag set in the file attribute? That should be possible to locate with same functions used to iterate through files and directories.
Or the volume id - the 32-bit serial number stored in the Extended BIOS Parameter Block?
Thank you for the inputs so far.
1): Yes, I am talking about the "drive/volume label" you can also give as argument to fformat. But if I do ffind("*") ("M:" as default drive), I do not get an entry with flag 0x08?!