COFF problem when box checked at compile time.



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2017
    Posts
    27

    Exclamation COFF problem when box checked at compile time.

    Hello everyone,

    Every time I compile my code with the COFF check box selected I get these errors:
    [ASM ERROR] Project name (1172) : Address label duplicated or different in second pass (Z0004F)
    [ASM ERROR] Project name (1235) : Address label duplicated or different in second pass (Z00050)
    [ASM ERROR] Project name (1288) : Address label duplicated or different in second pass (Z00051)
    [ASM ERROR] Project name (1319) : Address label duplicated or different in second pass (Z00052)

    If I don't have this box checked then I get no issues or errors report.
    The code being compile was originally compiled with it checked but it started giving issues when I changed to the last MPASMX available.
    Can anyone shed some light on this?

    Greatly appreciated.

  2. #2
    Join Date
    Apr 2014
    Location
    Northeast
    Posts
    498


    Did you find this post helpful? Yes | No

    Default Re: COFF problem when box checked at compile time.

    When you say "The latest MPLABX", you do know PBP3 works with MPLABX versions 5.35 and older. MPLABX is currently on version 6.00, which uses pic-as instead of the traditional ASM for compilations. If you got a PBP file to compile at all with MPLABX v6.00 I don't know how. Older versions of MPLABX are available on the microchip.com web site: from the header, mouse over "Tools and Resources", then down to "Develop", finally selecting "MPLABX IDE". Click the Download button. Under the current version is a link "Go To Downloads Archive". It's in there somewhere (large page with lots of stuff).

  3. #3
    Join Date
    Jun 2017
    Posts
    27


    Did you find this post helpful? Yes | No

    Default Re: COFF problem when box checked at compile time.

    Hi mpgmike!
    Thanks for your reply. This is what is written in the notes area of the code in question. I didn't write this code as I'm only trying to update it.
    "'PIC is PIC18F66J11
    'Using PBP3 GOLD 3.1.3.4
    'MPASMX V 3.30
    'Microcode Studio Plus 5.0.0.5 / `1'Microcode Studio 5.0.0.5"

    This relates to the environment in which this code was developed back in June of 2018.
    I assumed this info to be correct but now that I use the newer version below, it fails.
    "'PIC is PIC18F66J11
    'Using PBP3 GOLD 3.1.3.4
    'MPASMX V 5.50
    'Microcode Studio Plus 5.0.0.5 / `1'Microcode Studio 5.0.0.5"

    I just didn't understand why the code compiles with the COFF check box unchecked and not with it checked.
    I have other code that has it checked and it makes not different whether it's checked or not.

    I did go back and set MPASMX V3.30 as the assembler but still not success.
    All this started when the code was recompiled with the new environment and then it didn't work anymore.
    I can rewrite the code, that's not an issue, I just wondered what the problem was.

    No need to make anymore posts, thanks for your time.

Similar Threads

  1. Calculate TMR0 reload value at compile time?
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th December 2010, 19:59
  2. Heating a facility box in winter time.
    By Ioannis in forum General
    Replies: 6
    Last Post: - 2nd October 2009, 14:12
  3. USB compile problem
    By keymuu in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd September 2008, 16:39
  4. 18F452 compile problem
    By pcbb in forum General
    Replies: 1
    Last Post: - 21st April 2007, 02:16
  5. Linker/COFF debugging in MPLAB SIM
    By RichardBowser in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th January 2007, 18:28

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