This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ffree function returns incorrect free space on USB Drive

We are using RL-USB and RL-FlashFS and ffree function to check the space availabe on the USB drive.
With one 4GB drive with free space of 3.37GB, it reports proper free space ie. 0x0d7fad000
But for another 4GB USB Drive with free space of 767MB, it is reporting free space as 0x12000.
We have checked the drive with chkdsk command on windows and there are no errors reported.
We would like to know what could be the reason of incorrect free space returned by ffree function.

Parents
  • Do you know what is different with the USB drive which is not working? Is it formatted with a different block size. Can you duplicate this problem with another USB drive when you copy the same files over?
    If the problem can be duplicated, you could send a description how to duplicate it in a support case (see www2.keil.com/.../silver). If this can only be duplicated with one USB drive, an image of it could help us to see this issue.

Reply
  • Do you know what is different with the USB drive which is not working? Is it formatted with a different block size. Can you duplicate this problem with another USB drive when you copy the same files over?
    If the problem can be duplicated, you could send a description how to duplicate it in a support case (see www2.keil.com/.../silver). If this can only be duplicated with one USB drive, an image of it could help us to see this issue.

Children