PDA

View Full Version : mplabx and dt ints 18



richard
- 21st July 2015, 21:15
can any of the few that can get mplabx to work with pbp3 get anything to compile with dt ints included,
I get this

make[2]: Entering directory `C:/Users/rc/Documents/PBP3/flash/flash.X'
gnumkdir -p build/default/production/_ext/818124931
"C:\PBP3\pbpx.exe" -ampasmx -k# -os -p18f87j11 C:/Users/rc/Documents/PBP3/flash/flash.X/flash.pbp
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3396 : Address label duplicated or different in second pass (Z00197)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3459 : Address label duplicated or different in second pass (Z00198)
PICBASIC PRO(TM) Compiler 3.0.7.4, (c) 1998, 2013 microEngineering Labs, Inc.
All Rights Reserved.
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3512 : Address label duplicated or different in second pass (Z00199)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3543 : Address label duplicated or different in second pass (Z0019A)
C:\PBP3\DEVICES\PIC18F87J11.PBPINC (337) MSG: SFRs REFOCON, ODCON1, ODCON2, ODCON3, PADCFG1, MEMCON, ANCON1,
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3396 : Address label duplicated or different in second pass (Z00197)
C:\PBP3\DEVICES\PIC18F87J11.PBPINC (338) MSG: ANCON0, and CVRCON should be accessed in alternate memory space
C:\PBP3\DEVICES\PIC18F87J11.PBPINC (339) MSG: with names REFOCON_ALT, ODCON1_ALT, ODCON2_ALT, ODCON3_ALT,
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3459 : Address label duplicated or different in second pass (Z00198)
C:\PBP3\DEVICES\PIC18F87J11.PBPINC (340) MSG: PADCFG1_ALT, MEMCON_ALT, ANCON1_ALT, ANCON0_ALT, and CVRCON_ALT.make[2]: Leaving directory `C:/Users/rc/Documents/PBP3/flash/flash.X'
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3512 : Address label duplicated or different in second pass (Z00199)
make[1]: Leaving directory `C:/Users/rc/Documents/PBP3/flash/flash.X'
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3543 : Address label duplicated or different in second pass (Z0019A)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3396 : Address label duplicated or different in second pass (Z00197)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3459 : Address label duplicated or different in second pass (Z00198)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3512 : Address label duplicated or different in second pass (Z00199)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3543 : Address label duplicated or different in second pass (Z0019A)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3396 : Address label duplicated or different in second pass (Z00197)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3459 : Address label duplicated or different in second pass (Z00198)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3512 : Address label duplicated or different in second pass (Z00199)
Error[116] C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\FLASH.ASM 3543 : Address label duplicated or different in second pass (Z0019A)


I'm lost


a snippet of the asm file

INT_Source USB_PID_INT, UEIE,PIDEE, _NoPriority
endif

ENDASM?

; C:\USERS\RC\DOCUMENTS\PBP3\FLASH\FLASH.X\DT_INTS-18.BAS 00415 Z00199 asm
Z00199
ASM?

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