1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Help in programming PIC16F877.....

Discussion in 'Microcontrollers' started by Azhar Ali chohan, Jun 20, 2003.

  1. Azhar Ali chohan

    Azhar Ali chohan New Member

    Joined:
    Jun 20, 2003
    Messages:
    2
    Likes:
    0
    Hi!
    I am new to PIC world but i have done much work on 8051, 89C51 etc. Now i was trying to check out new PIC16F877, whose feature amazed me.
    I was trying to make programmer for PIC16F877, but i have following questions.

    A, Does PIC16C84 programmer with wiring change can be used for PIC16F877. If not then why?

    B, How to autodetect PIC16F877. I am sure there is some device identification byte exist but i dont know how to read it. perhaps may be i am missing some thing in PIC16F877 datasheets and programming specification.

    Thanks!
     
  2. TheAnimus

    TheAnimus New Member

    Joined:
    Jun 22, 2003
    Messages:
    116
    Likes:
    1
    Location:
    England
    a word of warning, the whole of the PIC16F87x series has a low voltage programming feature, when the chips come from the factory they normally have the low voltage program fuse set. Because of this make sure u drag RB3 low.

    see this nice converstation
    http://www.piclist.com/techref/microchip/16F877/hvprog.htm
     
  3. Azhar Ali chohan

    Azhar Ali chohan New Member

    Joined:
    Jun 20, 2003
    Messages:
    2
    Likes:
    0
    yes i have connected it to Gnd by 1k resistor. My problem is i could not understand the programming specification that is how i can autodetect the MCU.
    Thanks!
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Chippie

    Chippie New Member

    Joined:
    Mar 8, 2003
    Messages:
    991
    Likes:
    9
    Location:
    Good 'ole England

    You use the RB6/RB7 pins to program as you would with an F84
     

Share This Page