LVP will not turn off


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2010
    Posts
    2

    Default LVP will not turn off

    Using PBPP and EPIC programmer and having some trouble with 16F887 part. Tried changing to _LVP_OFF in 16F887.INC and found it never "takes," even though other settings I make there work fine. That is, when I bring up EPIC to program the part, LVP is enabled. So also tried turning it off in my code:

    ASM
    __CONFIG _CONFIG1, _LVP_OFF
    ENDASM

    Again though LVP stays enabled when any other settings I make do take. Also tried disabling LVP using the EPIC programmer drop down list method. Seems to work, but if I read back in, LVP is enabled.

    I got around it by not using the RB3/PGM pin and instead tying it low. Everything works fine. However, the behavior bugs me (also I'd like to use that pin for IO).

    Any hints as to why this is happening are appreciated.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I do not have an epic. But I hear there is a setting in the software to tell the epic not to set the fuses and let the fuses be set in code.
    Have you tried that ?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Feb 2010
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: LVP will not turn off

    Quote Originally Posted by mackrackit View Post
    I do not have an epic. But I hear there is a setting in the software to tell the epic not to set the fuses and let the fuses be set in code.
    Have you tried that ?
    Thanks I will check into that possibility. However it does set other fuses I've tried. Only LVP is refusing to change. That's the maddening part -- everything else works as expected.

Similar Threads

  1. new and need help
    By smeghead in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2008, 20:19
  2. Serial Question + General Review
    By Freman in forum General
    Replies: 2
    Last Post: - 20th June 2008, 22:27
  3. Help with PIC project
    By davekav in forum General
    Replies: 3
    Last Post: - 17th April 2008, 23:15
  4. Interface for 16f818
    By davekav in forum Serial
    Replies: 4
    Last Post: - 17th April 2008, 11:33
  5. Button problem driving me crazy!! Please help!
    By bearpawz in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 20th November 2007, 14:46

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts