It's very likely that you've overwritten one.
Here's what they should look like...
<table border=1><tr><td>PBP folder
Code:
'****************************************************************
'* 18F4550.BAL *
'* *
'* By : Leonard Zerman, Jeff Schmoyer *
'* Notice : Copyright (c) 2007 microEngineering Labs, Inc. *
'* All Rights Reserved *
'* Date : 06/29/07 *
'* Version : 2.50 *
'* Notes : Long *
'****************************************************************
BANKA $0000, $005F
BANK0 $0060, $00FF
BANK1 $0100, $01FF
BANK2 $0200, $02FF
BANK3 $0300, $03FF
BANK4 $0400, $04FF
BANK5 $0500, $05FF
BANK6 $0600, $06FF
BANK7 $0700, $07FF
'EEPROM $F00000, $F000FF
LIBRARY "PBPPI18L"
'LIBRARY "PBPUS18L"
include "PIC18EXT.BAS"
PORTL VAR PORTB
PORTH VAR PORTC
TRISL VAR TRISB
TRISH VAR TRISC
include "PBPPI18L.RAM"
'*-----------------------* EOF 18F4550.BAL *--------------------*
</td><td>USB18 folder
Code:
'****************************************************************
'* 18F4550.BAL *
'* *
'* By : Leonard Zerman, Jeff Schmoyer *
'* Notice : Copyright (c) 2007 microEngineering Labs, Inc. *
'* All Rights Reserved *
'* Date : 05/09/07 *
'* Version : 2.50 *
'* Notes : *
'****************************************************************
BANKA $0000, $005F
BANK0 $0060, $00FF
BANK1 $0100, $01FF
BANK2 $0200, $02FF
BANK3 $0300, $03FF
'BANK4 $0400, $04FF
'BANK5 $0500, $05FF
'BANK6 $0600, $06FF
'BANK7 $0700, $07FF
'EEPROM $F00000, $F000FF
'LIBRARY "PBPPI18L"
LIBRARY "PBPUS18L"
include "PIC18EXT.BAS"
PORTL VAR PORTB
PORTH VAR PORTC
TRISL VAR TRISB
TRISH VAR TRISC
include "PBPPI18L.RAM"
'*-----------------------* EOF 18F4550.BAL *--------------------*
</td></tr></table>
If they aren't equal, which one is more valid, or 100% valid?
They are both 100% valid.
One is used for USB, the other is used for NON USB programs.
<br>
Bookmarks