Re: RCM6700 , VBAT & FAT

Phil D <[email protected]>
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <CAL8BBoMBWxn42H2yM7wEbOe6c+Bsy7fBgwErO1W3QJFYddvjvw@mail.gmail.com>
I dont use zserver lib i have:

#use "fat16.lib"
#define FAT_BLOCK                  //
#define FAT_USE_FORWARDSLASH       //
#define SSPEC_ALLOW_ANONYMOUS_WRITE
#define SSPEC_ALLOW_ANONYMOUS_WRITE


initial mount
   rc = sspec_automount(SSPEC_MOUNT_ANY, NULL, NULL, NULL);

open of file
file=sspec_open("/A/labels.xml", testcontext,O_WRITE|O_CREAT, 0);
close of file
 sspec_close(file);

there may be away of using the functions your already using. I
just implemented it this way after i had problems with it not working with
no VBAT

Phil

On 30 July 2012 13:12, Theodore Politis <akisppoli-/[email protected]> wrote:

> **
>
>
> Hi Phil
> You use the zserver lib for these functions?
> Because to work with sspec_write the file argument is a (int)file hanler
> so i must change all the functions of open,close  etc..
> (The file name must be "A/xxxxx.xxx" in order to put in in A partition ?)
>
> Thank's
> Akis
>
>
>  
>
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.