mister e
thats where i went to get started seemed simple enough
however all the commands shown see above
generate a error
mister e
thats where i went to get started seemed simple enough
however all the commands shown see above
generate a error
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
and the 16F627A.INC fileCode:@ __CONFIG _INTRC_OSC_NOCLKOUT & _MCLRE_ON & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
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
Last edited by mister_e; - 22nd February 2007 at 02:06.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
pbp 2.46 mpsam 5.
errors 113 and 118 are listed when i try the first line above
this is warning with the second part above
WARNING: Unable to open INCLUDE file P16F627A.INC.
ERROR Line 25: Syntax error. (mistre.pbp)
ERROR Line 26: Bad parameter to LIST command. (mistre.pbp)
ERROR Line 27: Syntax error. (mistre.pbp)
ERROR Line 31: ELSE without a matching IF..THEN. (mistre.pbp)
ERROR Line 32: Bad parameter to LIST command. (mistre.pbp)
ERROR Line 33: Bad parameter to LIST command. (mistre.pbp)
ERROR Line 37: ENDIF without a matching IF..THEN. (mistre.pbp)
ERROR Line 38: Bad parameter to LIST command. (mistre.pbp)
post your whole code... and make sure your MPASM PATH is right and MPASM is checked in the Compile and Program Option> assembler tab of MicroCode Studio.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
only getting overwriteing previous address error now is that ok
also your first line did not give xt-osc which is all i really am trying to start with
attached file
mpsam is working perfectly expect when i try fuses
sorry, i misread your first post. Anyways, you'll need this one
Code:@ __CONFIG _XT_OSC & _MCLRE_ON & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
thanks that seems to work except for the overwrite error
is that a problem??
Bookmarks