Re: How to upgrade flash memory under the control of WinCE?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Mike Markley (mmarkley_online_at_microsoft.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 19:24:46 GMT

Lee,

The IPSM is writing to a different memory chip or a different region on the
chip that is not marked as XIP.

Mike Markley
Microsoft Corporation
mmarkley_online@microsoft.com

--------------------
>From: "Lee Ning" <li.ning@advantech.com.cn>
>References: <uPzEwX49DHA.1424@TK2MSFTNGP12.phx.gbl>
<unh7aK59DHA.2184@TK2MSFTNGP09.phx.gbl>
<uX1mlIS#DHA.3292@TK2MSFTNGP11.phx.gbl>
<Ci3IkA9#DHA.1560@cpmsftngxa06.phx.gbl>
>Subject: Re: How to upgrade flash memory under the control of WinCE?
>Date: Thu, 26 Feb 2004 09:20:54 +0800
>Lines: 70
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Message-ID: <e4cXJbA$DHA.2476@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.windowsce.platbuilder
>NNTP-Posting-Host: 218.241.72.85
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.windowsce.platbuilder:46302
>X-Tomcat-NG: microsoft.public.windowsce.platbuilder
>
>Thank you very much Mike.
>
> But I know Intel IPSM can write to flash memory under XIP image.Do you
>know how IPSM can make it?
>
>Thanks.
>
>"Mike Markley" <mmarkley_online@microsoft.com> wrote in message
>news:Ci3IkA9#DHA.1560@cpmsftngxa06.phx.gbl...
>> Lee,
>>
>> If the Windows CE image is execute in place (XIP) then you cannot write
to
>> the flash memory while the image is running. This is a limitation of the
>> flash memory itself and not of the OS. The only way to update the
>> bootloader if the image is XIP is to have the bootloader update itself
>when
>> the device reboots.
>>
>> Mike Markley
>> Microsoft Corporation
>> mmarkley_online@microsoft.com
>>
>>
>> --------------------
>> >From: "Lee Ning" <li.ning@advantech.com.cn>
>> >References: <uPzEwX49DHA.1424@TK2MSFTNGP12.phx.gbl>
>> <unh7aK59DHA.2184@TK2MSFTNGP09.phx.gbl>
>> >Subject: Re: How to upgrade flash memory under the control of WinCE?
>> >Date: Sun, 22 Feb 2004 16:59:08 +0800
>> >Lines: 20
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>> >Message-ID: <uX1mlIS#DHA.3292@TK2MSFTNGP11.phx.gbl>
>> >Newsgroups: microsoft.public.windowsce.platbuilder
>> >NNTP-Posting-Host: 218.241.72.85
>> >Path:
>>
>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8
>> phx.gbl!TK2MSFTNGP11.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl microsoft.public.windowsce.platbuilder:46106
>> >X-Tomcat-NG: microsoft.public.windowsce.platbuilder
>> >
>> >
>> > Thank you Street_Ken,But how can I let the CE not read data from flash
>> >while I am updating?
>> >Is there a method can do that?
>> >
>> >"street_ken" <street_ken@sina.com> wrote in message
>> >news:unh7aK59DHA.2184@TK2MSFTNGP09.phx.gbl...
>> >> Flash is not ram, you can read directly but you can't write directly.
>> >Write
>> >> need a set of "IO" command, so you need "driver" to do this while not
>> >> mapping memory.
>> >> If you want update flash under CE. You must sure that the CE not read
>> >data
>> >> from flash while you are updating. Because when you update the flash
>the
>> >> chip is in erase or program state, the read can't return the right
>> result.
>> >> So the CE maybe halt.
>> >>
>> >>
>> >
>> >
>> >
>>
>
>
>



Relevant Pages

  • Re: What File System supports Application XIP
    ... > You won't gain at runtime by using XIP though. ... I thought that when you XIPed from flash, ... directly back to the flash memory address. ... There shouldn't be a RAM ...
    (Linux-Kernel)
  • Re: WindowCE 5.0 + XIP Chain question!
    ... use XIP Chain. ... (NAND Flash, CF and etc), the bootloader will need to load the image into ... memory technology and the bootloader will need to load the whole bunch thing ... the new MDD/PDD dose not work well with bootpart.lib and BinFS; ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
    ... >> The current xip stack relies on having struct page behind the memory ... This causes few impact on memory management, ... >> order to deal with vmas that don't have struct page behind. ... This is, as far as I can tell, not true for our xip mappings. ...
    (Linux-Kernel)
  • Re: Page-aligned executables (Was re: [9fans] Non-stack-based calling conventions)
    ... Lguest uses mmap so it can ... And with the execute in place support (XIP) it gets more interesting, ... from memory to memory". ... First, boot time speed. ...
    (comp.os.plan9)
  • Re: ClearCase + WINCE 5.0 = headache
    ... XIP is separate from the compression you're talking about. ... That memory region must be physically contiguous. ... I wonder if I should hard configure compression either on or off. ... "Dean Ramsier" wrote: ...
    (microsoft.public.windowsce.platbuilder)