Re: Persistent registry (Hive) by Voidcoder
Voidcoder
Fri Aug 26 11:36:08 CDT 2005
You can obtain some info from the "config.bib" file. Post it here and we
will see where the image is executed from.
Yes, if running from RAM it is possible to setup \Flash folder
using the FMD driver, and keep your persistent data files there,
as well as to place registry files there.
Take a look at "ms-help://MS.WindowsCE.500/wceddk5/html/wce50conFlashMediaDriver.htm"
in wince 5.0 documentation.
Overwise (running from flash) you have two solutions:
1. Use Intel PSM, which is not free but time-verified and
quite stable solution.
2. Build you own solution. This is not really very defficult,
all You need is the piece of code for flash write/erase
operations to be copied to RAM and then called from
there, cause the most of flashes can not be read
(ie. no way to execute code from flash) when switched
to command mode.
"Mads Lind Christiansen" <MadsLindChristiansen@discussions.microsoft.com> wrote in message
news:3029E521-255B-42B3-BD61-974227A8BE8F@microsoft.com...
> Hi all
>
> Thank you so much for your quick answers!
>
> Now I am really a newbie on the Windows CE platform (used to work on much
> smaller embedded devices) so please bear with me :-)
>
> Currently we are just playing around with a Sophia Sandate SG2G board using
> their supplied BSP. Now I really should read much more about program
> execution etc. so
>
> I am not really sure if programs is executed directly from flash or RAM ?
>
> Is there an easy way to figure this out (since I have come across this
> setting anywhere) ?
>
> If programs are executed from RAM could I then setup a \Flash folder and
> place the registry there ?
>
> Is there a guide to how this is done ?
>
> Thanks in advance,
> The Newbie.
>
>
> "Voidcoder" wrote:
>
>> Sorry, don't have a time to check it, but it seems this is
>> a normal "strata" type flash. So you can go on with a
>> stratafmd included in wince. BUT note (of course
>> Bruce is right) this will work for You only if running
>> from RAM.
>>
>>
>> "Mads Lind Christiansen" <MadsLindChristiansen@discussions.microsoft.com> wrote in message
>> news:19284A67-BEBA-4719-96E5-B8DF2A64EFEF@microsoft.com...
>> > 2x Intel flashchip RC 28F256K 18C120 Easy BGA-64pin ...
>> >
>> > "Voidcoder" wrote:
>> >
>> >> The easiest way is to use existing (what flash chip is it?) or
>> >> write your own FMD driver. This will give you the persistent
>> >> storage which can be used to keep persistent registry hives
>> >> as well.
>> >>
>> >>
>> >> "Mads Lind Christiansen" <MadsLindChristiansen@discussions.microsoft.com> wrote in message
>> >> news:9D90BACC-F72A-49F1-8591-28B0703BEB2C@microsoft.com...
>> >> > Hi there...
>> >> >
>> >> > I'm currently working on a Windows CE 5.0 platform and were looking at
>> >> > persistent registry possibilities.
>> >> >
>> >> > Currently we have 32MB of flash and were wondering if it's possible to have
>> >> > both an OS image and persistent registry in the same flash block ?
>> >> >
>> >> > Does anyone have a hint to where I should start and how to get this working ?
>> >> >
>> >> > Thanks in advance,
>> >> > Mads.
>> >>
>> >>
>> >>
>>
>>
>>