errors or warning.. that's the question!
tell me - the error number your program return e.g. Error[118]c:\... Overwriting previous address content (2007)
- MPASM version
- PBP version
- your config line
- the modified .INC file in your PBP folder.
Here, PBP 2.47, MPASM 5.06
Code:
@ __CONFIG _INTRC_OSC_NOCLKOUT & _MCLRE_ON & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
and the 16F627A.INC file
Code:
;****************************************************************
;* 16F627A.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2003 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 11/06/03 *
;* Version : 2.45 *
;* Notes : *
;****************************************************************
NOLIST
ifdef PM_USED
LIST
include 'M16F62xA.INC' ; PM header
;device pic16F627A, xt_osc, wdt_on, mclr_on, lvp_off, protect_off
XALL
NOLIST
else
LIST
LIST p = 16F627A, r = dec, w = -302
INCLUDE "P16F627A.INC" ; MPASM Header
;__config _XT_OSC & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
NOLIST
endif
LIST
Bookmarks