Re: This is not a .BIN file FF FF FF FF FF FF FF

From: Sujith (sujithss_at_nospam.hotmail.com)
Date: 09/29/04


Date: Wed, 29 Sep 2004 09:20:31 +0530

Hi Dean,
the KernelRelocate (pTOC) is already called in the BootloaderMain()...
and that is the first function ever called in the BootloaderMain()...
anything more do need to do?
Regards
Sujith

"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
news:%23r1NzeXpEHA.4008@TK2MSFTNGP14.phx.gbl...
> Are you calling kernel relocate before doing any of this stuff? Sounds
like
> you're not, and global variables are not being initialized.
>
> --
> Dean Ramsier - eMVP
>
>
> "Sujith" <sujithss@nospam.hotmail.com> wrote in message
> news:emceQ3WpEHA.1084@TK2MSFTNGP10.phx.gbl...
> > No,
> > the problem is that, it is not at all entering to the loop which
receives
> > the packet.
> > so some junk values make the output..
> > but one thing is very strange, that,
> > static DWORD dwBlockNumber = 0;
> >
> > static USHORT cbDataBuffer = 0; are not getting initialized to 0
and
> > have some junk value!!! in the starting of the program.....
> > if I remove the static keyword, it does it, still I need the values to
be
> > retained..
> >
> > regards
> > Sujith
> >
> > "Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in
message
> > news:OivSMPWpEHA.1084@TK2MSFTNGP10.phx.gbl...
> > > "received non-download packet type" this indicates that PB is sending
> > > commands to jump to an existing image without downloading. Check your
> > > settings in PB to make sure you are using "download always or Download
> > when
> > > changed..."
> > >
> > > --
> > > Steve Maillet
> > > EmbeddedFusion
> > > www.EmbeddedFusion.com
> > >
> > > Do have an opinion on the effectiveness of Microsoft Windows Mobile
and
> > > Embedded newsgroups? Let us know!
> > > https://www.windowsembeddedeval.com/community/newsgroups
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: This is not a .BIN file FF FF FF FF FF FF FF
    ... the KernelRelocate (pTOC) is already called in the BootloaderMain... ... and that is the first function ever called in the BootloaderMain... ...
    (microsoft.public.windowsce.embedded)
  • pTOC and global variables
    ... I'm developing a bootloader for a platform based on a PXA255 processor ... I know pTOC is a pointer to a memory address where linker store ... and set at linking stage so kernelrelocate can find this info and copy ... Reserve some RAM before Eboot. ...
    (microsoft.public.windowsce.platbuilder)