Re: msflash (fal) library in XIP mode on WindowsCE 5.0?
- From: "Bonne Zwaga" <NOSPAMbonne.zwaga@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Jan 2008 10:04:43 +0100
Thanks for your reply but not yet completely the answer I'm looking for.
When you look at the wince6.0 FAL library. It can instantiate a XipFal or
FileSysFal object. The decision which mode is based on settings passed by
the FMD library.
My FMD in based on the code from the mainstoneIII BSP. This FMD has the
wince 6.0 (wm 5.0) interface. I changed the interface to be compatible with
wince 5.0.
With this driver I don't get BINFS working.
Because I don't have the code of the wince 5.0 FAL library I don't know if
this library has the same Xip/FileSys architecture and on what data either
of the modes are selected.
It is possible that in changing my FMD interface I made a mistake and not
correctly notify the FAL that the driver should be in XIP mode.
By the way we are using NOR (p30) flash. I'm trying to get BINFS working to
store some large readonly files, and for example some application modules
that I rarely use. In the latter case I don't mind that the applications
don't XIP in flash but are paged into memory.
Kind Regards
Bonne Zwaga
"Silver" <moc.liamtoh@gnirrevliseht> wrote in message
news:eJFhnHgYIHA.3696@xxxxxxxxxxxxxxxxxxxxxxx
The FAL doesn't care what is being done with the data it retrieves. For
XIP to work flash region will not be managed by the FAL, it will be
exposed to the OS as a flat binary region. It will not be formatted as
BINFS either.
Note that XIP and paging are not the same thing. If you have a NAND flash
then you can page sections of flash into RAM for execution - you can do
this with NOR as well but it is not XIP in that case. BINFS is the file
system used to do this.
eXecute In Place - XIP - is where the CPU directly fetches instruction and
data from the flash without putting it in RAM first.
Geoff
--
.
- References:
- msflash (fal) library in XIP mode on WindowsCE 5.0?
- From: Bonne Zwaga
- Re: msflash (fal) library in XIP mode on WindowsCE 5.0?
- From: Silver
- msflash (fal) library in XIP mode on WindowsCE 5.0?
- Prev by Date: Re: Limitation in the number of visible Access Points?
- Next by Date: Re: IS WinCE5.0 Support MLC NAND FLASH
- Previous by thread: Re: msflash (fal) library in XIP mode on WindowsCE 5.0?
- Next by thread: Re: CredWrite/CredRead in CE 6
- Index(es):
Relevant Pages
|