Instant Interrupts - Revisited


Results 1 to 40 of 773

Threaded View

  1. #11
    Join Date
    Mar 2010
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Ok, it looks like the code is trying to goto 0xa34 in the attached file.
    It gets to 0x091C - MOVWF PCL, ACCESS and resets the PIC.

    Here are the values for PC:
    Code:
      Update      Address    Symbol Name      Value                      Binary     Char 
    
                     FE8     WREG                   0x34                  00110100    '4'
                     FF9     PCL                    0x1C                  00011100    '.'
                     FF9     PCLAT              0x0A341C 00001010 00110100 00011100  '.4.'
                     FFA     PCLATH                 0x34                  00110100    '4'
                     FFB     PCLATU                 0x0A                  00001010    '.'
    The code should be going to 0x0A34 but instead resets...It never actually moves the 0x34 from Wreg into the PCL.

    Any thoughts?

    Thanks
    Tom
    Attached Files Attached Files

Similar Threads

  1. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  2. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  3. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  4. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 9

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

Tags for this Thread

Posting Permissions

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