Re: Persistent registry (Hive)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3029E521-255B-42B3-BD61-974227A8BE8F@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:19284A67-BEBA-4719-96E5-B8DF2A64EFEF@xxxxxxxxxxxxxxxx
>> > 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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> news:9D90BACC-F72A-49F1-8591-28B0703BEB2C@xxxxxxxxxxxxxxxx
>> >> > 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.
>> >>
>> >>
>> >>
>>
>>
>>


.



Relevant Pages

  • Re: Persistent registry (Hive)
    ... Now I am really a newbie on the Windows CE platform (used to work on much ... execution etc. so ... I am not really sure if programs is executed directly from flash or RAM? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: copy from flash to ram
    ... boot in XIP in flash or Copy the image into RAM and execute there. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Blue Screen at Login page.
    ... Enquire, plan and execute ... No-k wrote: ... I will verify Bios at Dell and try the proceedure there as well. ... Did the computer come originally with the 2 gb RAM. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Newbie DLL location question
    ... If the DLL is in flash, and if the compressed bit is set, it ... will be decompressed *to RAM* before it is executed. ... So with the compressed bit set, it will execute from flash, and that means ...
    (microsoft.public.windowsce.platbuilder)
  • Re: DSP-2812: Calling SCI_BOOT from the program
    ... You will have to load the application part to RAM and execute it from there. ... Then you will be able to reprogram the flash. ...
    (comp.dsp)