FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [January 2014 Threads] FreeRTOS+FAT SL: limited to one open file???Posted by thkusch on January 21, 2014 Hello!
I'm trying the FreeRTOS+FAT SL on an Atmel SAM3. I used another FS library until now but it's quite dated and discontinued.
The scenario is that up to 100 files have to be kept opened. After a test run and a closer look on the f_open function I noticed that it won't work. The downloadable version of FAT SL is only able to have one file opened at a time. I cannot find any information about this limitation on the freertos web page nor am I able to find any information if there is a commercial "unlocked" version. Does anyone have an idea?
Best regards,
Thomas
FreeRTOS+FAT SL: limited to one open file???Posted by rtel on January 21, 2014 The file system you are looking at is the 'super lean' system. As in all file systems (and networking stacks, etc.) there are engineering trade offs that can be made between performance, functionality and footprint. The super lean version is at the extreme of minimising the footprint. There are other file systems in the family that compromise the footprint (i.e. use more ROM and RAM) to improve performance, and even provide some fail safe functionality and in those you can open multiple files and multiple volumes - but they are not free I'm afraid (nor are they provided by Real Time Engineers Ltd directly).
Regards.
FreeRTOS+FAT SL: limited to one open file???Posted by xz8987f on January 22, 2014 Looks like you are using the 'Petite FAT File System' (http://elm-chan.org/fsw/ff/00indexp.html) which has several limitations.
If you want to open multiple files/etc, you need the full-blown FatFS (http://elm-chan.org/fsw/ff/00indexe.html)
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|