Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    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

  2. #2
    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 " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Unhappy

    the faulty 1083 Line :

    [quote]
    ENDASM?


    1082 ; C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\DT_INTS-18.BAS 00313 Z00063 asm
    1083 Z00063

    ASM?

    ; -- Added for ver. 3.2 --
    ifdef SPPIF ;----{ Streaming Parallel Port Read/Write }--[PIR1, SPPIF]---
    INT_Source PIR1,SPPIF, PIE1,SPPIE, IPR1,SPPIP
    endif
    ifdef BCL1IF ;----{ Bus 1 Collision }--------------------[PIR2, BCL1IF]---
    INT_Source BUS1_INT, PIE2,BCL1IE, IPR2,BCL1IP
    endif


    ...

    ; ifdef ;----{ }-------------[, ]---
    ; INT_Source , ,, ,
    ; endif


    ENDASM?


    1145 ; C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\DT_INTS-18.BAS 00369 Z00064 asm ; -- USB sources --
    1146 Z00064

    ASM?
    ; -- USB sources --
    ifdef USBIF ;----{ USB Interrupt funnel }---------------[PIR2, USBIF]---
    INT_Source PIR2,USBIF, PIE2,USBIE, IPR2,USBIP

    ;----{ Bus Activity Detect }-----------------[UIR, ACTVIF]---
    INT_Source USB_ACTV_INT, UIE,ACTVIE, _NoPriority


    ....


    INT_Source USB_PID_INT, UEIE,PIDEE, _NoPriority
    endif


    ENDASM?


    1198 ; C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\DT_INTS-18.BAS 00415 Z00065 asm ; -- Ethernet sources --
    1199 Z00065

    ASM?
    ; -- Ethernet sources --
    ifdef ETHIF ;----{ Ethernet Module }----------------------[PIR2, ETHIF]---
    INT_Source ETH_INT, PIE2,ETHIE, IPR2,ETHIP

    ;----{ DMA Interrupt }-------------------------[EIR, DMAIF]---
    INT_Source ETH_DMA_INT, EIE,DMAIE, _NoPriority


    ......

    INT_Source ETH_TXER_INT, EIE,TXERIE, _NoPriority

    ;----{ Transmit }-------------------------------[EIR, TXIF]---
    INT_Source ETH_TX_INT, EIE,TXIE, _NoPriority
    endif


    ENDASM?


    1229 ; C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\DT_INTS-18.BAS 00439 Z00066 asm ; -- CAN Module --
    1230 Z00066

    ASM?
    ; -- CAN Module --
    ifdef WAKIF
    ;----{ CAN bus Error }------------------------[PIR3, ERRIF]---
    INT_Source CAN_ERR_INT, PIE3,ERRIE, IPR3,ERRIP

    ;----{ Invalid Received Message }-------------[PIR3, IRXIF]---
    INT_Source CAN_IRX_INT, PIE3,IRXIE, IPR3,IRXIP


    Hope it Helps ...

    PS: Program compiled fine with PBP 2.50c and MPLAB 8.15 ... of course ...
    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 " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Have you made changes? Or is the TRACTEUR program the same as ...

    http://www.picbasic.co.uk/forum/show...23&postcount=4

    It compiles fine here with PBP 2.60 / MPASM 5.20.

    If it's different, can you send me the new version?
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Hi, Darrel

    Same errors ... looks same program !!!

    MPASM is V5.33 here ...

    All other programs NOT USING DT Interrupts compile fine ... sooo, I do not understand what's going on ...

    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 " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Because of all the problems people have been reporting, I didn't want to upgrade MPLAB.
    But now I have the latest and greatest.

    The first time compiling the TRACTEUR program, and it compiles just fine.

    I do get that DOS window popping up instead of the progress bar, like others described.

    I'm compiling with MicroCode Studio.
    Are you using MPLABs IDE?

    Added: I'm also using the original Elapsed_INT-18.bas, I don't have your modified version. But I think we talked about that before somewhere and it wasn't a problem.
    Last edited by Darrel Taylor; - 20th August 2009 at 23:08. Reason: Elapsed_INT-18_ExtOsc.bas
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    Are you using MPLABs IDE?
    Duh! Another stupid question on my part ...
    Error[116] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\TRACTEUR.ASM 1083 : Address ...
    I don't use MPLAB, so can't offer much help there.
    Does anything that Bruce was telling wbubel about MPLAB above help?

    At least it's not related to DT_INTS.
    <br>
    DT

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 : 6

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