Re: Flash OS imageupdate application

From: A.User (a_user_at_home.com)
Date: 05/28/04


Date: Fri, 28 May 2004 11:55:01 -0400

yes,yesy,yes, and don't know.

Another thing to watch out for, sometimes the size of the image is stored
persistantly in the
bootloader. This size is extracted when the .bin file is parsed via Ethernet
download.
If you are updating via Storage Card app this size location needs to be
updated also as it
is used by the bootloader to figure out how much memory to move from flash
to ram (assuming
we are executing from ram).

"Fabio - ElettronicaGF" <fmelandri@elettronicagf.it> wrote in message
news:3ad3b9c6.0405280022.2b62ccc8@posting.google.com...
> Hello A.User,
>
> Thank you for your quick reply.
> Excuse me but I'm rather newbie in WinCE so I have some more questions.
>
> Did you do theese steps?
> Map (with memorymap file function) the original .bin OS image file
> Parse it and extract data
> Program Flash record-by-record
>
> What library or functions did you use for program flash?
> Is bootpart library good for this work?
>
> During update I would like disable any other user operation and system
activity
> How can I reach it?
>
> Thanks a lot!
>
> FabioMelandri
> ElettronicaGF
>
>
> "A.User" <a_user@home.com> wrote in message
news:<OEeUr4CREHA.2468@tk2msftngp13.phx.gbl>...
> > I just finished writing exactly this application.
> > I used the CompactFramework altho its not necesssary (I just wanted a
cool
> > GUI)
> > Parsing the .bin file is not that bad ... look at the bootloader code.
> > Its nice if you have enough RAM to totally store a whole new image (may
be
> > upto 32M??)
> > I used the memorymap file function to overcome the application partition
> > size limit.
> > otherwise you have to "chunk it" not that cool if you lose power etc.
> >



Relevant Pages

  • Re: what is the functionality of kernelrelocate() of eboot code?
    ... The bootloader is copied to RAM, but the bootloader doesn't know it. ... why the relocation should be needed for ram based boot code and global ... From the bootloadermainthe kernelrelocate() is located at the ...
    (microsoft.public.windowsce.platbuilder)
  • Re: XIP - Execute in Place (For Bootloader)
    ... then the bootloader will not get copied to the RAM from the Flash. ... I would like to execute the Bootloader from the Flash Memory itself ... How to make the Bootloader to Execute from the Flash Memory itself ...
    (comp.arch.embedded)
  • Re: Free x86 C compiler wanted
    ... bootloader would copy the code from PROM to RAM then branch to the ... it may be a problem of your bootloader? ... Why at all do you copy the program into the RAM, ... AFAIR the entry point of an COM file simply is the first byte. ...
    (comp.compilers)
  • Re: Question on bootloader Relocation?
    ... The bootloader must copy itself to RAM and jump there. ... > However StartUp routine suppose to run from RESET vector, ... > RAMIMAGE in the BIB file as SDRAM address that implicitly menas if we need ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Windows 95
    ... if he has enough RAM, he could try Slax (although I've ... And it's in split .CAB archives that span multiple disks. ... couldn't he use 7-Zip to extract .cabs? ...
    (alt.lang.asm)