PIC16LF1939 Configuration Errors
Hi,
I've been using this 16LF1939 chip for a while. I always configure it with the Melabs U2 programmer software, which is the easy way to do it
. Now, I'm trying to set the fuses in the program like this
Code:
@ DEVICE PIC16LF1939
@ __CONFIG _CONFIG2, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_ON & _CPD_ON & _BOREN_OFF & _CLKOUTEN_OFF
@ __CONFIG _CONFIG2, _IESO_OFF & _FCMEN_OFF & _WRT_OFF & _PLLEN_OFF & _STVREN_OFF & _BORV_25 & _LVP_OFF
And, I'm getting some errors. I'm using PBP2.60c and MPASM. Any ideas of what I'm doing wrong? I suspect the first line is part of the problem.
P.S. There are two *.inc files for this chip. One in the PBP2-60 directory and another one in the MPASM SUITE directory. Do I need to make any changes to these files?
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks