PDA

View Full Version : Problem with Dt Ints Interrupts



Quin
- 18th July 2008, 17:49
I'm getting an error message when compiling a prog using Darrel's Dt_Ints Timer template.

"ERROR: Variable wsave3 position request 416 beyond RAM_END 335."

It's the only error from the compiler but I can't find what it refers to.

The program (to control four servos) uses a 16F648A

Any help appreciated

Thanks

skimask
- 18th July 2008, 17:52
I'm getting an error message when compiling a prog using Darrel's Dt_Ints Timer template.
"ERROR: Variable wsave3 position request 416 beyond RAM_END 335."
It's the only error from the compiler but I can't find what it refers to.
The program (to control four servos) uses a 16F648A
Any help appreciated
Thanks

I'll bet my lunchbreak that if you do a SEARCH on WSAVE3 here, you'll find your answer very quickly...
But that's only if you can find the SEARCH button on this page...

Darrel Taylor
- 18th July 2008, 19:21
Hi Quin,

Open the DT_INTS-14 file, and at the top there is a comment that says what to do.

In your case, the 16F648A doesn't have any general purpose registers in BANK3.
So there's no need for the WSAVE3 variable.

To fix the error, simply comment out that line.

hth,