Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    You have PBP setup in MPLAB as the language tool as shown here: http://melabs.com/support/mplab.htm and you still get the same errors?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2
    Join Date
    Jul 2009
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    You have PBP setup in MPLAB as the language tool as shown here: http://melabs.com/support/mplab.htm and you still get the same errors?
    I tried it with PBP setup in MPLAB and I got a bunch of compile errors

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Those are the errors I was asking about. If you can just setup PBP to work from within MPLAB you really will save yourself a TON of time & headaches.

    Show me the errors you get (when PBP is setup to compile in MPLAB), and I'll do my best
    to help you get that working.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I just compiled your code in MCS, then opened the .asm generated in MPLAB, selected
    the 18F1220, and clicked the Quickbuild option, and it worked fine. Odd way of doing it,
    but it did work.

    Can you explain how you're setting up your project in MPLAB? Which version MPASM/MPLAB
    you're using, etc?

    Also, since it's not finding the .MAC file, I would check my path statement to make sure it
    can find all files it needs.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Jul 2009
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    I found the problem. It was the name of the program I chose. I called it Blink i.bas once I changed its name to Blink_i.bas the whole thing compiled then I could build it in MPLAB.
    I should have known better. I'm going to put my Dunce hat on and stand in the corner for a while.

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


    Did you find this post helpful? Yes | No

    Default

    That's great you got it working ... But ...
    I just don't understand why you are doing it that way?

    When you compile it in MicroCode Studio, it's compiled. Done deal.

    Why are you then trying to compile (build) it again with MPLAB.
    You already have a .HEX file before you even open MPLAB.
    <br>
    DT

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Red face

    Hi, Darrel

    I just have turned to MPLAB 8.36 and PBP 2.60 ...

    Headache : I get this error screen while re-building an existing project :


    Executing: "C:\PBP\PBPMPLAB.BAT" -ampasmwin -k# -p18F452 "Tracteur.bas"
    Executing: "C:\PBP\PBPW.EXE" -ampasmwin -k# -p18F452 "Tracteur.bas"
    Message[301] C:\PBP\18F452.INC 23 : MESSAGE: ( PENSEZ à INDIQUER la BONNE CONFIGURATION ... )
    Message[301] C:\PBP\18F452.INC 24 : MESSAGE: ( PENSEZ à INDIQUER la BONNE CONFIGURATION ... )
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second pass (Z00066)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second pass (Z00066)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second pass (Z00066)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second pass (Z00066)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second pass (Z00066)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second pass (Z00066)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second paPICBASIC PRO(TM) Compiler 2.60, (c) 1998, 2009 microEngineering Labs, Inc.
    All Rights Reserved.

    ERROR: Unable to execute mpasmwin.ss (Z00066)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address label duplicated or different in second pass (Z00063)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1146 : Address label duplicated or different in second pass (Z00064)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1199 : Address label duplicated or different in second pass (Z00065)
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1230 : Address label duplicated or different in second pass (Z00066)
    Halting build on first failure as requested.
    BUILD FAILED: Thu Aug 20 14:24:12 2009
    All the error lines are referring to DT Instant interrupts ...

    Could you give me a pointer ???

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

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

Members who have read this thread : 4

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