Doug, have you tried a different F1232? I am assuming your main() is not
returning or exiting...
At 06:20 PM 11/4/2005, douglas2355 wrote:
>To all the hard working crew
> I have a wierd bug in a MSPF1232. I use a the IAR c compiler and
>the processor constantly goes to an endless jmp loop 'FF3F' to
itself.
>This instruction is placed just after the call to main in the starup
>file. If change JTAG tools or compilers ( same results with
>IMAGECRAFT ) the results are the same. Is this some permenent flash
>option in the MSP430. It makes one loop at best thru main and then
>jumps to the _exit loop after main. It appears to be leaving
>main.c ??????
>
>Doug McClelland
>Triton Engineering
>douglas2355@doug...
>
>
// richard (This email is for mailing lists. To reach me directly, please
use richard at imagecraft.com)
----- Original Message -----
From: "Rachel Adamec" <adamec.rachel@adam...>
To: "douglas2355" <douglas2355@doug...>; <msp430@msp4...>
Sent: Monday, November 07, 2005 5:01 PM
Subject: Re: [msp430] HELP !!!!!! I have a MSP1322 that will not leave the
exit locations
> >From: douglas2355 <douglas2355@doug...>
>>Subject: [msp430] HELP !!!!!! I have a MSP1322 that will not leave the
>>exit locations
>
>>To all the hard working crew
>> I have a wierd bug in a MSPF1232. I use a the IAR c compiler and
>>the processor constantly goes to an endless jmp loop 'FF3F' to
itself.
>>This instruction is placed just after the call to main in the starup
>>file. If change JTAG tools or compilers ( same results with
>>IMAGECRAFT ) the results are the same. Is this some permenent flash
>>option in the MSP430. It makes one loop at best thru main and then
>>jumps to the _exit loop after main. It appears to be leaving
>>main.c ??????
>
> Doug,
>
> it sounds like you've figured out what is happening, you're
exiting from
> the main() routine...
>
> do you have code that can exit or do you have a 'for(ever);' loop
in main?
> if you do, is there a 'break;' out of the body of that loop?
I had something like that happen in an assembler program (also for the
'F1232) the other day, I'd forgotten the RET at the end of a
sub-routine. It
was some time before I worked out what was going on. 8-(
Leon
--
Leon Heller, G1HSM
leon.heller@leon...
http://webspace.webring.com/people/jl/leon_heller/
---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]
Reply by Rachel Adamec●November 7, 20052005-11-07
>From: douglas2355 <douglas2355@doug...>
>Subject: [msp430] HELP !!!!!! I have a MSP1322 that
will not leave the exit locations
>To all the hard working crew
> I have a wierd bug in a MSPF1232. I use a the IAR c compiler and
>the processor constantly goes to an endless jmp loop 'FF3F' to
itself.
>This instruction is placed just after the call to main in the starup
>file. If change JTAG tools or compilers ( same results with
>IMAGECRAFT ) the results are the same. Is this some permenent flash
>option in the MSP430. It makes one loop at best thru main and then
>jumps to the _exit loop after main. It appears to be leaving
>main.c ??????
Doug,
it sounds like you've figured out what is happening, you're exiting
from the main() routine...
do you have code that can exit or do you have a 'for(ever);' loop in
main? if you do, is there a 'break;' out of the body of that loop?
Rachel Adamec
Norristown, PA
Reply by douglas2355●November 4, 20052005-11-04
To all the hard working crew
I have a wierd bug in a MSPF1232. I use a the IAR c compiler and
the processor constantly goes to an endless jmp loop 'FF3F' to itself.
This instruction is placed just after the call to main in the starup
file. If change JTAG tools or compilers ( same results with
IMAGECRAFT ) the results are the same. Is this some permenent flash
option in the MSP430. It makes one loop at best thru main and then
jumps to the _exit loop after main. It appears to be leaving
main.c ??????
Doug McClelland
Triton Engineering
douglas2355@doug...