need help configuring 16F628


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    San Diego
    Posts
    35

    Question need help configuring 16F628

    I have a 16F628 that the EPIC serial programmer will not program because the LVP pin on the device is held high in my circuit.
    The programmer error is "Target device does not match selected device"

    If I hold it low, it programs fine.
    I have included the "DEFINE LVP_OFF" but it still thinks the pic is set up for LVP ?

    Is there a way to get the chip to program without holding bin B4 low?... Is there another define or cfg setting that I should use?

    No problrms on other 16 or 18F chips... only the 16F628.

    Thanks,
    tcbcats

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    as far as I can remember the problem is:

    on an erased (or new) chip the LVP bit is set.
    the datasheet says the high voltage mode overrides the LVP-mode but this is not really true.

    To program the device RB4 must either be floating or pulled low.
    With a pullup on RB4 you will not be able to program a device that has the LVP-Bit set.

    regards

Similar Threads

  1. Replies: 6
    Last Post: - 20th September 2008, 12:28
  2. 16F628 problems
    By fowardbias in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 11th January 2006, 07:38
  3. Interface DB-25 Female Connector to PIC 16F628
    By JoeCJK in forum Schematics
    Replies: 0
    Last Post: - 20th April 2005, 05:06
  4. SERIN2 not working with 16F628
    By d1camero in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th May 2004, 20:37
  5. 16F628 on-chip eeprom problem
    By atomski in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 4th March 2004, 07:43

Members who have read this thread : 1

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