# File system for RCM5750

**URL:** <https://forums.digi.com/t/file-system-for-rcm5750/9415>\
**Category:** Rabbit\
**Created:** [June 1, 2010, 8:56pm UTC](https://forums.digi.com/t/file-system-for-rcm5750/9415 "2010-06-01T20:56:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nisse](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@nisse](https://forums.digi.com/u/nisse)\
**Post date:** [June 1, 2010, 8:56pm UTC](https://forums.digi.com/t/file-system-for-rcm5750/9415/1 "2010-06-01T20:56:11Z")

</div>

My understanding from beeing down the documentation “rabbithole” is that the serial flash on the RCM5750 is not compatible with the FAT file system, is this really true? I have seen driver software in the library but have not found any samples on how to use it. Anyone??

---

<div class="post-metadata">

**Author:** ![Powerbook](https://avatars.discourse-cdn.com/v4/letter/p/3be4f8/32.png) [@Powerbook](https://forums.digi.com/u/Powerbook)\
**Post date:** [June 2, 2010, 10:32am UTC](https://forums.digi.com/t/file-system-for-rcm5750/9415/2 "2010-06-02T10:32:00Z")

</div>

Hi nisse,

First i was try C:\DCRABBIT\_10.64\Samples\RCM5700\Serial\_Flash\sflash\_inspect.c with success…

I try to use Fat on the RCM5750 SFLASH, but…

Support Team say : no it’s not a good idea to use FAT on the RCM5750 Sflash… some occurs problem with the battery-backed RAM not available on RCM5750, FAT Cache problem, …

Okay, very bad news…

I was find very good informations in this thread : [http://www.embeddedrelated.com/groups/rabbit-semi/show/39298.php](http://www.embeddedrelated.com/groups/rabbit-semi/show/39298.php)

And i try…

I was change the file FAT\_CONFIG.LIB and add " || RCM5750" @ the end of line 134 -\>  
#elif RCM4200\_SERIES || RCM4400W\_SERIES || RCM5400W\_SERIES || BL4S100\_SERIES   
|| RCM5600W\_SERIES || RCM6700\_SERIES

Now RCM5750 is like other Core with Serial Flash.

I open the sample C:\DCRABBIT\_10.64\Samples\FileSystem\FAT\FAT\_WRITE\_MBR.C

I compile it but i add before “brdInit();” into the main… to declare the port/pin where the Spi Serial Flash is attached.

Compilation is ok, but for the moment “Partitioning failed”…  
i need to try erase the sflash page 0,1,2 (see the header of FAT\_WRITE\_MBR.C) with sflash\_inspect (need to modify it too) and retry… but time is come to go to sleep ! 😉

I will continue asap, if i have good results, please keep me informed.

Thanks,

Powerbook  
ps : Sorry for my bad english.
