Problem with Dt Ints Interrupts


Closed Thread
Results 1 to 3 of 3
  1. #1
    Quin's Avatar
    Quin Guest

    Question Problem with Dt Ints Interrupts

    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

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Quin View Post
    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...
    Last edited by skimask; - 18th July 2008 at 18:10. Reason: Grammatical errors abound...

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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,
    DT

Similar Threads

  1. Quick thoughts: DT Ints with encoders
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 7th January 2010, 01:01
  2. Tachometer with DT Interrupts?
    By DanPBP in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th November 2009, 19:51
  3. DT interrupts and Pause
    By Luckyborg in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th February 2009, 22:47
  4. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts