hi,
You are over filling the stack, this can happen when you have too many PUSH's to the stack... that is more gosubs than returns, or using a return at the end a routine thats been jumped to by a goto.
I think you're all looking at this the wrong way?, it's not very clear, but I suspect he's talking about a problem actually getting MPLAB to run, and not a PIC programming problem.
I'm simulating the program and if i set a breakpoint it does not stop there it breaks elsewhere. The output on the simulator throws the error below.
CORE-E0001: Stack over flow error occurred from instruction at 0x00000d
Eitherways,i will check the program.
I think you're all looking at this the wrong way?, it's not very clear, but I suspect he's talking about a problem actually getting MPLAB to run, and not a PIC programming problem.
This error does not happen all the time but only when I run a particular program which is really lengthy.So I know for a fact that its something I'm doing on the program causes the error.
This error does not happen all the time but only when I run a particular program which is really lengthy.So I know for a fact that its something I'm doing on the program causes the error.
I know that is the only way to solve the problem unfortunately I'm not authorized to do that.Thanks for the help, I will update as I break my head and find the solution.
It may not be the case but it dose say there was a bug with breakpoints I didn't read all of it I think they fixed it in 8.20 but any way it's right here only with 18fxxx chips **broken link removed**
I'm simulating the program and if i set a breakpoint it does not stop there it breaks elsewhere. The output on the simulator throws the error below.
CORE-E0001: Stack over flow error occurred from instruction at 0x00000d
Eitherways,i will check the program.
The instruction at location 13 (0x0d) will be a call or push instruction (view the disassembly listing). This is somehow being executed lots of times without a corresponding return of pop instruction. Trace where the code goes to see how it is getting back there. It is probably running through memory and going back to location zero.
If true, he should hope his boss doesn't read the forums or he could be looking for a new programmer. All of my bugs are way more subtle than that(ROFL).