Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


FreeRTOS+FAT SL: limited to one open file???

Posted by thkusch on January 21, 2014


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).


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)

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists