darrel taylor's instant interrupt compiler error


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    thanks a lot sir darrel!!

    merry christmas and advance happy new year!!!

    our preliminary examination for this semester is already through and now i can continue building my 1st time project(moving message display using 5x7 dot matrix) for a newbie like me..with your instant interrupt code i hopefully can utilize it effectively in my project...thanks a lot again!!i guess i have to read more the datasheet of PIC16F84A yahoooo!!!

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by delta_boogie View Post
    thanks a lot sir darrel!!

    merry christmas and advance happy new year!!!

    our preliminary examination for this semester is already through and now i can continue building my 1st time project(moving message display using 5x7 dot matrix) for a newbie like me..with your instant interrupt code i hopefully can utilize it effectively in my project...thanks a lot again!!i guess i have to read more the datasheet of PIC16F84A yahoooo!!!
    what happens to the compiler when you program something and ,say the processor is PIC16F628A, instead of compiling successfully it shows "cancelled" in the status bar..

  3. #3
    Join Date
    Oct 2009
    Location
    Austin, Texas
    Posts
    15


    Did you find this post helpful? Yes | No

    Default Can I add my errors?

    I know this is an old thread, but I hope you don't mind me adding my error messages to the ones already corrected previously....I am using a PIC16F636. It has (1)8-bit timer, (1)16-bit timer. I have aready commented out errors wsave2 and wsave3.

    Why am I getting these errors?:
    Error TIMER~1.ASM 489 : [224]local drive only for use in macros
    Error TIMER~1.ASM 489 : [225]undefined symbol 'iflagreg'
    Error TIMER~1.ASM 489 : [226]numeric constant or symbol name expected
    Error TIMER~1.ASM 489 : [201]')' expected
    Error TIMER~1.ASM 489 : [235]opcode expected instead of 'error'
    Error TIMER~1.ASM 497 : [225]undefined symbol 'iflagreg'
    Error TIMER~1.ASM 497 : [300]too many errors

    I am trying to do a 20 minute and then a 50 minute event trigger using this process that you have show us. I really hope to get this working properly to salvage my project.

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


    Did you find this post helpful? Yes | No

    Default

    I don't mind.

    You need to use MPASM for the assembler.
    It won't work with the default PM.exe.

    hth,
    DT

  5. #5
    Join Date
    Oct 2009
    Location
    Austin, Texas
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    MPASM? I am a rookie and not familiar with this.....sorry. Is there more you can tell me or where to go for more? I am using PBP now, is this the problem?

    Thanks for the fast reply....I really appreciate your help.

    I just surfed my software settings and see where the ASSEMBER tab is located....it is in the "Compile and Program Options" pop-up. What should i do from there?

    Okay...I searched for the MPASM location automatically, and I now have compile without errors. Sorry for the learning curve Darrel, and thanks for the info.
    Last edited by ronbowalker; - 20th October 2009 at 18:52.

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


    Did you find this post helpful? Yes | No

    Default

    Which version of PBP do you have?

    If you have 2.60, then you can download the latest version of MPLAB (contains MPASM) from here ...

    http://www.microchip.com/stellent/id...&part=SW007002

    If you have an older version, then 8.15 is the last version that you can use.
    You can get 8.15a from melabs...

    http://www.melabs.com/support/mplab_old_versions.htm

    Then after you've installed it ...

    In MCS, go to the View | Compile and Program Options | Assembler Tab

    Click the Find Manually ... button and point it to
    C:\program files\microchip\mpasm suite

    Then check the Use MPASM checkbox.

    hth,<hr>
    Oops, you beat me to it.
    <br>
    Last edited by Darrel Taylor; - 20th October 2009 at 19:09. Reason: Bad timing :)
    DT

Similar Threads

  1. Optimizing DIV
    By skimask in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 22nd September 2008, 04:58
  2. Usart with Darrel Instant Interrupt
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th February 2008, 00:09
  3. using darrel taylor's instant interrupts
    By Michael Wakileh in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st July 2007, 04:07
  4. Ping Darrel Taylor - Timer0 Instant Interrupt
    By JEC in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th January 2007, 11:20
  5. Instant Interrupt Error
    By cool_justin in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th June 2006, 23:40

Members who have read this thread : 0

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