Thanks,
Paolo
This means that when the block driver is asked to write a sector, the
sector is written in a single action before returning. I have not done
this in CE 5.0 on an i.MX31, but in CE 6.0 the block driver *is*
atomic on the i.MX31. Basically there is no caching in the block
driver and the operation to write a sector is simply a page write
command on the NFC, with the status of the write operation being
verified before the call returns.
You can see the registry settings for TFAT on CE 6.0 at the following
thread
http://www.google.com/url?url=http://groups.google.com/g/7917fef4/t/ba8470fb5733459f/d/70f2ce37570ab950%3Fhl%3Den%26q%3D%2370f2ce37570ab950&ei=wCwFS4W_O4ngQratzbsM&sa=t&ct=res&cd=7&source=groups&usg=AFQjCNEj342hapQzHdHEEHjtdxatXzx9vQ
but you will have to adapt if for CE 5.0 as not all of the features
are available in CE 5.0.
Andrew.
Thanks,
Paolo
"AndrewScholan[MCTS]" wrote:
> .
>
Unfortunately I don't think that the license that we have with
Freescale will permit that. I suggest you contact Freescale or one of
their distributors and obtain the CE 6.0 BSP directly from them (it is
free of charge to qualifying developers).
Andrew.
Thanks,
Paolo
"AndrewScholan[MCTS]" wrote:
> > >http://www.google.com/url?url=http://groups.google.com/g/7917fef4/t/b....
> > > but you will have to adapt if for CE 5.0 as not all of the features
> > > are available in CE 5.0.
> >
> > > Andrew.
> > > .- Hide quoted text -
> >
> > - Show quoted text -
>
> Unfortunately I don't think that the license that we have with
> Freescale will permit that. I suggest you contact Freescale or one of
> their distributors and obtain the CE 6.0 BSP directly from them (it is
> free of charge to qualifying developers).
> Andrew.
> .
>
But as far as the upper OS is concerned, you are atomic. If you are
executing the while loop, you are still only performing one
transaction as far as the OS is concerned. It will either complete and
you return success then the OS will mark the transaction as complete,
or you will be interrupted (e.g. by power off) and TFAT will know this
because the transaction has not completed.
Thanks,
Paolo
"AndrewScholan[MCTS]" wrote:
> .
>