Re: where and how are the programs stored? ROM ? Then How?



Sort of, yes. The RAM filesystem isn't actually copied from ROM, but you
can pretend that's what's going on.

Are you telling us that you're writing your program to non-volatile memory
or asking if that's what happens? No, generally that's *not* what happens.
When you turn the power 'off', it's not really off on most battery-powered
devices. The processor is suspended, but battery power is still maintaining
the state of RAM, including the RAM filesystem. When you turn the device
back 'on', effectively just unsuspending it, everything is exactly where you
left it; it never moved and was maintained by power from the battery. If
you remove both the main battery and the emergency battery, your program
will be gone. There's no automatic copy to non-volatile memory on any
device that I've ever seen.

Paul T.


<rifat@MicrosoftAcademicTurkey> wrote in message
news:OZL8OlMXFHA.3716@xxxxxxxxxxxxxxxxxxxxxxx
>
> Hello Paul,
> Thanx for your great explanation. As I read the second paragraph,
> I mentioned that I have very little knowledge about the situation when the
> battery goes dead.
>
> here I have my story, and would be so happy if you correct any of my
> mistake.
>
> ok, when we turn off the device or the battery goes dead, the ram is
> flushed.(thats what we are taught at the uni. .)
> when we turn it on, the windows folder and program files folder is read
> from the ROM, and then loaded into RAM
> where there is a special filesystem.
>
> when we deploy a smart device application to the PPC device, the
> application resides in that special filesystem that is
> RAM-based. if we turn off the device this file system is written to ROM
> for later retrieval. so when we turn on again we
> can see the smart device application back in Program Files folder which is
> mapped from a reserved area of ROM.
> and if we delete the smart device application , its removed from RAM based
> file system.. and upon turning the device off again, ROM is updated as if
> synched with RAM-based file system. so the story goes....
>
> am I correct?
> thanx
> Rifat
>
>
>
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:ept0h5LXFHA.3864@xxxxxxxxxxxxxxxxxxxxxxx
>> Sure they do. They might have several, in fact. The basic filesystem on
>> most devices is RAM-based. Many have a non-volatile folder off the root,
>> \Flash, \PSM, or whatever, which is Flash-based.
>>
>> Some files in the RAM-based filesystem *are*, in fact, in ROM (programs
>> in the \Windows folder, for example).
>>
>> Windows Mobile 5.0 will support a completely non-volatile filesystem.
>> Whereas, the root folder, the \Program Files folder, the \Windows folder
>> are now generally RAM-based, Windows Mobile 5.0 will support having all
>> of those places be Flash-based. When that happens, the \Windows folder
>> won't be dependent on the battery any more and, when the battery goes
>> dead, you won't lose the contents of your \Windows folder, etc.
>>
>> Most Windows CE-based devices currently support PCMCIA cards that can
>> support files, too. An ATA Flash Compact Flash card, for example, will
>> appear as a \Storage Card folder on most devices. SD Cards can also be
>> used for this type of filesystem. Pocket PC devices don't generally
>> support it, but many Windows CE devices support hard disks for file
>> storage.
>>
>> Paul T.
>>
>>
>> <rifat@MicrosoftAcademicTurkey> wrote in message
>> news:Oy$VqyLXFHA.3348@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hello,
>>> When we deploy an application to the device using Visual Studio .NET,
>>> the application is transfered to the device (PPC). As far as I know,
>>> Windows Mobile operating systems,
>>> do not have a file system, then where are these files ?
>>>
>>> My guess is they are in ROM besides the O/S,
>>> but I have no idea how the management or how many percent of ROM is
>>> reserved for this operation.
>>>
>>> and I have heard that Windows Mobile 5.0 supports persistant storage, is
>>> this a disk with a file system?
>>>
>>> If someone can clear my conflicts, I will be happier. :)
>>>
>>> rifat yavuz
>>> Microsoft Academic, Turkey
>>>
>>
>>
>
>


.



Relevant Pages

  • 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)
  • 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: [PATCH 00/14] Pramfs: Persistent and protected ram filesystem
    ... One thing with persistent RAM disks is you _really_ want it to be ... That's one of the advantages of using a log-structured filesystem such ... got an external SRAM with a battery for example. ... optimum performance on spinning disk media, ...
    (Linux-Kernel)
  • Re: Filesys failed to initialize registry dirty, trying clean...
    ... And my OS design has already added RAM based registry and RAM/ROM filesystem. ... try to create a kernel with RAM based registry ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Filesys failed to initialize registry dirty, trying clean...
    ... And my OS design has already added RAM based registry and RAM/ROM filesystem. ... try to create a kernel with RAM based registry and RAM/ROM filesystem first. ...
    (microsoft.public.windowsce.platbuilder)

Quantcast