16F913 mind of it's own
- From: Sirhcyarguk@xxxxxxxxxxx
- Date: Sun, 24 Jun 2007 08:57:48 -0700
Using the simulator the program in question works sometimes and
sometimes doesn't. I am trying to isolate a couple of problems as a
last resort by placing an endless loop in the code (endhere. . . .
goto endhere). But it breaks out of that. I've turned off the
interrupts, they aren't used at all in the program. On the simulator
it will jump to incorrect places from a certain point. It has gone to
1700 lines in the editor, and only the last bit of code added has
shown this. The stack should not be causing this by overflowing, as in
this situation it isn't running more than one or two nested loops. All
the calls at this point have finished, and the routine is simply to go
back to an earlier point with a goto. But as I said, even placing an
endless loop won't keep the code in check. The WDT is off also.
I'm looking for a general answer so won't post the code. Please help!
.
- Follow-Ups:
- Re: 16F913 mind of it's own
- From: Alex Gibson
- Re: 16F913 mind of it's own
- From: TT_Man
- Re: 16F913 mind of it's own
- Prev by Date: Re: New ARM Cortex Microcontroller Product Family from STMicroelectronics
- Next by Date: Re: What is your development setup on Linux (or equiv)?
- Previous by thread: customize tools in AVRStudio ? how to specify current file name
- Next by thread: Re: 16F913 mind of it's own
- Index(es):
Relevant Pages
|