Re: update CE application during runtime

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The application is in ROM? If so, the answer will depend on the exact
architecture of the system. It's possible, for example, to have a
persistent storage device, a hard disk, flash disk, etc., mounted as the
root of the filesystem. If you do this, then you can simply copy the new
version of a file over the top of the ROM version and the OS will do the
right thing such that the new version, which ends up on the hard disk, of
course, will be used the next time it's executed in place of the ROM
version.

If you aren't using a persistent store in this way, you *may* be able to
offer a component upgrade, if there is some sort of a persistent filesystem
on your device. For example, some of our devices use a section of flash as
filesystem. They set up the registry on the device such that the loader's
"path" includes a folder on this flash filesystem. So, for programs
launched after the flash filesystem is mounted, applications otherwise in
ROM can be overridden. The difficulty here is updating drivers and other
things which are loaded during boot, when the filesystem might not yet be
mounted.

I guess, as usual, we need more information to give a real answer...

Paul T.


"andrews" <andrews@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D064B5D6-39E7-4656-BE38-3E704FB6C08E@xxxxxxxxxxxxxxxx
We have a need to update applications and data during runtime. Is this
possible or is the only way to update an application is rebuilding the
entire
NK.bin file and loading that?

Thanks,
Andy


.



Relevant Pages

  • Re: update CE application during runtime
    ... distributing it on the hard disk itself. ... root of the filesystem. ... will be used the next time it's executed in place of the ROM ... "path" includes a folder on this flash filesystem. ...
    (microsoft.public.windowsce.app.development)
  • Re: update CE application during runtime
    ... distributing it on the hard disk itself. ... root of the filesystem. ... will be used the next time it's executed in place of the ROM ... "path" includes a folder on this flash filesystem. ...
    (microsoft.public.windowsce.app.development)
  • RE: how to make sure that kernel is up
    ... you can add the filesystem and check. ... I want to know that how can we know that the kernel is completely ... Filesys not loaded, Opening from ROM ... OpenExe nk.exe: ROM: 8310f01c ...
    (microsoft.public.windowsce.platbuilder)
  • Re: where and how are the programs stored? ROM ? Then How?
    ... The RAM filesystem isn't actually copied from ROM, ... > when we turn it on, the windows folder and program files folder is read ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Why its called ROM-only
    ... In the case of "Filesystem", the descriptions tell you how things work. ... ROM *and* RAM. ... all temp data in external file system. ...
    (microsoft.public.windowsce.platbuilder)