Re: Understanding FAT

Tom Collins <tom-lnEA/wrDJtNWk0Htik3J/[email protected]>
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <[email protected]>
Steve,

Yes, the serial flash is divided between program and data.  It isn't partitioned like a hard drive (there isn't a partition table), but pages are allocated for the program, with others allocated for your FAT filesystem.  The program is not visible in the FAT filesystem.

If you're using the Remote Program Update feature, it stores two copies of your program -- the current/running version, and a staged version that the board will possibly reboot into if the update ran properly.

With the default settings, they aren't going to step on each other.  I believe it's possible to tweak some macros in the project settings to limit the space allocated for the program, if you need more space for FAT.  Of course, changing those macros will require you to re-initialize the FAT filesystem.

-Tom


On May 5, 2014, at 4:04 PM, <seecwriter-/[email protected]> wrote:
> 
> I am using the RCM6750 and am looking at using the FAT library to save a file. I haven't used the FAT system in Rabbit before so I'm just trying to understand. 
> 
> 
> 
> In the 6750 there is one 4Mb serial flash that holds both the Rabbit executable and whatever data files you create.  Does that mean the board comes from the factory with two partitions, or is there just one big partition? I don't want to create a file and have it stomp on my program, or update my program and have it wipe out my file.
> 
> 
> 
> Steve
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.