Searching \ for '16f873 __config settings' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=16F
Search entire site for: '16f873 __config settings'.

Truncated match.
PICList Thread
'16f873 __config settings'
2000\05\11@145515 by RAYMOND WILLCOX

picon face
<x-flowed>Hi all
  I am a newby to pic and I recently started using/learning P16f873. I had
a problem on PortB output. Microchip docs say to set B3/LVP to off in
configuration file and this will make all porb = outputs. I tried this:
__config  _LVP_OFF & _etc_... and it didn't work. I was using a free DOS
based compiler which did not have a pull down configuration menu so I
couldn't access the config file. Finally, I got and used a picstart+ with
MPLAB, VOILA!
A big configuration pull down menu right there in front of me! and what did
it say? Low Voltage Programming (Enabled/Disabled). I set LVP = Disabled,
compiled the code and went to the bottom of the listing page to see what I
could see. There in big letters I see _LVE_OFF!
 I quickly edited the __config file to _LVE_OFF and re-compiled the code
and it worked great. My problem was solved. Microchip docs don't say
anything about LVE only LVP(must have been a typo). So I want to share my
kernal of knowledge with the rest of you that may have the same or similar
problems. When it seems all is lost and nothing makes sense, go read the
list page on the compiled code and see if the __config commands match what
the Microchip docs say(you may be supprised). Anyhow, to wind this up, use
_LVE_on/off  instead of _LVP_on/off.

Happy PICn, Mark

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

</x-flowed>

2000\05\11@153004 by smerchock, Steve

flavicon
face
Mark,
Quick note, it depends which version of MPLAB you're
using. MPLAB 4.12 uses LVP, while MPLAB 5.00 uses LVE.

Best regards,
Steve

{Original Message removed}

2000\05\12@161117 by pandersn

flavicon
face
Raymond...

I had a similar experience. Also, if you wish to use RAi as digital I/O
pins, then deselect the A/D converter since POR assigns some of the RA pins
to the A/D...i.e. reassign them as general digital I/O if not using with
A/D via ADCON1.

Phil

On Thursday, May 11, 2000 1:54 PM, RAYMOND WILLCOX
[SMTP:spam_OUTmarkwillcox56TakeThisOuTspamHOTMAIL.COM] wrote:
> Hi all
>    I am a newby to pic and I recently started using/learning P16f873. I
had
> a problem on PortB output. Microchip docs say to set B3/LVP to off in
> configuration file and this will make all porb = outputs. I tried this:
> __config  _LVP_OFF & _etc_... and it didn't work. I was using a free DOS
> based compiler which did not have a pull down configuration menu so I
> couldn't access the config file. Finally, I got and used a picstart+ with
> MPLAB, VOILA!
> A big configuration pull down menu right there in front of me! and what
did
> it say? Low Voltage Programming (Enabled/Disabled). I set LVP = Disabled,
> compiled the code and went to the bottom of the listing page to see what
I
> could see. There in big letters I see _LVE_OFF!
>   I quickly edited the __config file to _LVE_OFF and re-compiled the code
> and it worked great. My problem was solved. Microchip docs don't say
> anything about LVE only LVP(must have been a typo). So I want to share my
> kernal of knowledge with the rest of you that may have the same or
similar
> problems. When it seems all is lost and nothing makes sense, go read the
> list page on the compiled code and see if the __config commands match
what
> the Microchip docs say(you may be supprised). Anyhow, to wind this up,
use
> _LVE_on/off  instead of _LVP_on/off.
>
> Happy PICn, Mark
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...