Problem with FAT32 in RTEMS 4.6.2

Daniel Gustafsson daniel.gustafsson at
Thu Jan 13 09:00:09 UTC 2005

How do I configure RTEMS 4.6.2 if I want to measure time with the clock
manager? I have a ERC32 that work with 20MHz.

Thanks Thomas Doerfler.
With a smaller cluster size FAT32 works as it should.


>-----Original Message-----
>From: Thomas Doerfler [mailto:Thomas.Doerfler at] 
>Sent: Tuesday, January 11, 2005 6:42 PM
>To: Daniel Gustafsson
>Cc: rtems-users at
>Subject: Re: Problem with FAT32 in RTEMS 4.6.2
>maybe this is partially my fault: When I wrote the format 
>functions, I did not expect sector sizes different from 512 byte 
>(although this is theoretically legal). 
>Hmm, when I have a closer look at your parameters, I would 
>decide that this cannot be a FAT32 disk: you have 32768 clusters 
>of 32768 bytes. According to the specs, a disk with less than 
>65525 (!) clusters must be organized as FAT16.
>Try to reduce the cluster size to 16KByte for a test.
>> Hello.
>> I am having problems to use FAT32 with DOSFS in RTEMS 4.6.2.
>> Hardware: ERC32
>> Storage Media: Non volantile RAM (Have modified the ramdisk 
>driver to fit my
>> system)
>> I can mount the file system and everything works fine. When 
>I try to create
>> a file I get the error "no space left on device". I use a 
>1GB device, 4096
>> sectorsize and 32Kbyte cluster size.
>> When I format the disk FAT16 everything works fine and I can 
>then create
>> files and more...
>> Does anyone have a suggestion???
>> Regards
>> Daniel
>IMD Ingenieurbuero fuer Microcomputertechnik
>Thomas Doerfler           Herbststrasse 8
>D-82178 Puchheim          Germany
>email:    Thomas.Doerfler at
>PGP public key available at: http://www.imd-

More information about the users mailing list