Reply by evlotus7 February 10, 20032003-02-10
Hello Pete,

Which of the .S file are you using. I experienced some problems
with the bootloader if I used other then the .S file. With the .p.S
and .x.S, my application program never start. But by using the .S,
you lose all data flash.

Bruno. --- In , "Pete Becher <pbecher@d...>"
<pbecher@d...> wrote:
> Hi All,
>
> Has anyone seen or have a solution for the following situation?
>
> The problem is that the program will not start after power-down or
> reset. I am downloading the program via the bootloader and the
> program runs just fine when the bootloader says "Application
> Started". But then if I reset the unit or power down and up it
hangs.
>
> If we can keep the .pFlash size below 0xD100 everything works
fine.
> It looks like if .pFlash is greater than 0xD100 the Motorola SDK
> initialization routines corrupt the program memory. As the
program's
> size changes, the exact behavior of the failure changes. Sometimes
> the program will not start and sometimes it gets part way into the
> main routine and then starts over.
>
> All thoughts welcome.
> Thanks,
> Pete


Reply by Pete Becher February 7, 20032003-02-07
Hi All,

Has anyone seen or have a solution for the following situation?

The problem is that the program will not start after power-down or
reset. I am downloading the program via the bootloader and the
program runs just fine when the bootloader says "Application
Started". But then if I reset the unit or power down and up it hangs.

If we can keep the .pFlash size below 0xD100 everything works fine.
It looks like if .pFlash is greater than 0xD100 the Motorola SDK
initialization routines corrupt the program memory. As the program's
size changes, the exact behavior of the failure changes. Sometimes
the program will not start and sometimes it gets part way into the
main routine and then starts over.

All thoughts welcome.
Thanks,
Pete