I have a test program for the 18F26J11 device where I am utilizing interrupts. The code compiles fine when using Microcode Studio and the U2 programmer. The code also works as expected. When trying to compile the same source code in MPLAB IDE v 8.73 I get the following build errors:
Executing: "c:\pbp\PBPMPLAB.BAT" -ampasmwin -k# -p18F26J11 "C:\Users\Martin\Documents\MCSP\My Programs\ZB Test\ZB_2.pbp"
Executing: "c:\PBP\PBPW.EXE" -ampasmwin -k# -p18F26J11 "C:\Users\Martin\Documents\MCSP\My Programs\ZB Test\ZB_2.pbp"
PICBASIC PRO(TM) Compiler 2.60C, (c) 1998, 2011 microEngineering Labs, Inc.
All Rights Reserved.
ERROR: Unable to execute mpasmwin.Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 767 : Address label duplicated or different in second pass (Z00044)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 830 : Address label duplicated or different in second pass (Z00045)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 883 : Address label duplicated or different in second pass (Z00046)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 914 : Address label duplicated or different in second pass (Z00047)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 767 : Address label duplicated or different in second pass (Z00044)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 830 : Address label duplicated or different in second pass (Z00045)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 883 : Address label duplicated or different in second pass (Z00046)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 914 : Address label duplicated or different in second pass (Z00047)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 767 : Address label duplicated or different in second pass (Z00044)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 830 : Address label duplicated or different in second pass (Z00045)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 883 : Address label duplicated or different in second pass (Z00046)
Error[116] C:\USERS\MARTIN\DOCUMENTS\MCSP\MY PROGRAMS\ZB TEST\ZB_2.ASM 914 : Address label duplicated or different in second pass (Z00047)
Skipping link step. Not all sources built successfully.
BUILD FAILED: Mon Jul 11 07:01:48 2011
I want to utilize MPLAB's IDE for it's debug capabilities with the MPLAB ICE 3 programmer / debugger. Any help appreciated. Source code file is attached.
Bookmarks