Forums

move from Jtag to Bootloader

Started by Thomas May 5, 2005
Hello everyone I'm new to the group but was wondering about the
diffrence in the way I'm loading my program because now I'm using the
serial bootloader that came with metrowerks 7.0 and my 56f803 keeps
reseting itself back into the bootloader. It is a random occurance so
its not like its always doing this its just once in awhile it will
reset back to bootloader. Its kinda of pain because of the fact that
i need this thing to run 24/7 for my robot control. The bootloader
time that it waits before running my program again is unacceptable in
my case. I was also wondering what srec file to upload to the DSP. I
sent it the .elf.s (or would this depend on how codewarrior is set up)
file and was wondering if maybe its causing a stack overflow and thats
why I'm getting the reset.

thanks everyone and looking forward to talking with everyone


--- In motoroladsp@moto..., "Thomas" <tommyjt24@y...> wrote:
> Hello everyone I'm new to the group but was wondering about the
> diffrence in the way I'm loading my program because now I'm using the
> serial bootloader that came with metrowerks 7.0 and my 56f803 keeps
> reseting itself back into the bootloader. It is a random occurance
so
> its not like its always doing this its just once in awhile it will
> reset back to bootloader. Its kinda of pain because of the fact that
> i need this thing to run 24/7 for my robot control. The bootloader
> time that it waits before running my program again is unacceptable in
> my case. I was also wondering what srec file to upload to the DSP.
I
> sent it the .elf.s (or would this depend on how codewarrior is set
up)
> file and was wondering if maybe its causing a stack overflow and
thats
> why I'm getting the reset.
>
> thanks everyone and looking forward to talking with everyone

Are you supporting the Low Voltage Interrupts in your code?
Is your application moving into a safe mode (not using the PLL) when
these interrupts fire? If you experience a brown out or slow shut-off
but continue to operate the core at full speed then the application
can go off into the weeds and accidentally erase stuff in flash.