Miip, that's the one MPLAB/MPASM use, the one you need to find and modify is located in your PBP folder and should, once modified, looks like the following
Code:
;****************************************************************
;* 18F6520.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2007 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 07/09/07 *
;* Version : 2.50 *
;* Notes : *
;****************************************************************
NOLIST
ifdef PM_USED
LIST
"Error: PM does not support this device. Use MPASM."
NOLIST
else
LIST
LIST p = 18F6520, r = dec, w = -311, w = -230, f = inhx32
INCLUDE "P18F6520.INC" ; MPASM Header
;__CONFIG _CONFIG1H, _OSC_XT_1H
;__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H
;__CONFIG _CONFIG4L, _LVP_OFF_4L
NOLIST
endif
LIST
EEPROM_START EQU 0F00000h
BLOCK_SIZE EQU 8
If you're using MicrocCode studio, click on View>Compile and Program Option In Compiler tab it should write the compiler path just over the Find automatically button. In my case C:\pbp
This should cure the problem.
Bookmarks