
Originally Posted by
LinkMTech
Wouldn't even start to compile
1st error: Variable USBReserveMemory position request 1024 beyond RAM_END 1023
Did: Opened up PIC18F2455.BAS and enabled BANK4
Are you sure you are working with 2.60 files?
The BAS file should look like this to start with (no modifications required):
Code:
'****************************************************************
'* 18F2455.BAS *
'* *
'* By : Leonard Zerman, Jeff Schmoyer *
'* Notice : Copyright (c) 2008 microEngineering Labs, Inc. *
'* All Rights Reserved *
'* Date : 09/12/08 *
'* Version : 2.60 *
'* 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 "PBPPIC18"
include "PIC18EXT.BAS"
PORTL VAR PORTB
PORTH VAR PORTC
TRISL VAR TRISB
TRISH VAR TRISC
include "PBPPIC18.RAM"
USBMEMORYADDRESS Con $400 ' USB RAM starts here
'*-----------------------* EOF 18F2455.BAS *--------------------*
Bookmarks