PIC16f877-20 to a PIC16f877A I/P Disaster


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Delaware
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    If you use in circuit serial programming then you need to load the bootloader file for the 16F877A -20 as well as selecting the 16F877A.

    Hope this helps.

    Joe

  2. #2
    andyf's Avatar
    andyf Guest


    Did you find this post helpful? Yes | No

    Default PIC16f877-20 to a PIC16f877A I/P Disaster

    Hi Joe,

    I have to load a what?

    :-)

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Have you tried programming this 877A in an EPIC zif socket?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    andyf's Avatar
    andyf Guest


    Did you find this post helpful? Yes | No

    Default

    I dont have a zif, its sitting in a solderless breadboard directly in the place where the 16f877 was, I keep trying idea's, swapping them around, reloading the appropriate hex file but still get the error when I verify.

    I am using conventional In circuit programming, hardly any components on the breadboard and smooth voltages.

    What works perfectly for the 877 does not for the 877A.

    Tried erase before write.

    Made sure I have the low-voltage programming pin (RB3) pulled to
    ground when programming the device.

    Above it was suggested about the bootloader, is a bootloader required if using the older in circuit programming or on the 877A must it be used no matter how, just a thought.

    Its doing my head in, got a project on the go and cant store the code in the chip :-(

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Try to program it in-circuit without the crystal connected.

    Try turning off the EPIC verify option. Then see if your code runs as expected.

    Does either work?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  6. #6
    andyf's Avatar
    andyf Guest


    Did you find this post helpful? Yes | No

    Default

    Tried it Bruce and it made no difference, am going to cry soon.

  7. #7
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If you turn OFF the EPIC verify option you still get a "verify" error?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  8. #8
    Join Date
    Feb 2003
    Location
    Delaware
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by andyf
    Hi Joe,

    I have to load a what?

    :-)
    What program are you using to program your PIC? Is it a bootloader?

    If you are programming your pic onboard thru a serial cable using a bootloader then you need to load the bootloader software onto your pic. This is a file specific to your pic and its osc setting. This file is usually supplied by the programmer company and its usually stored in a folder with the programming software.

    If you are programming your PIC using a serial programmer then the problem may be hardware related. The breadboard could be causing you some problems. I have read of others who said that they had trouble with programming PICs in breadboards.

    Regards,

    Joe.

  9. #9
    andyf's Avatar
    andyf Guest


    Did you find this post helpful? Yes | No

    Default

    Ok, so this is where I got, not far.

    I tried everthing and more but still no joy, waisted a lot of peoples time and ended up back to square one sorry and thanks for your help.

    I feel there is a problem with these PICs or my epic is failing to store the code in the chip, I tried all night going over and over it then threw the towel in and gave up. I think the only sollution I have is to just use pic16f877-20/p which work fine instead of the pic16f877a i/p which give me problems.

    working back using the pic16f877-20/p I have a new problem with ports http://www.picbasic.co.uk/forum/showthread.php?t=1683 any idea's guys

Similar Threads

  1. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  2. communicating pic18f452 with pic16f877a
    By tamersoss in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th July 2007, 19:54
  3. capture/repeat data ?
    By Sam in forum Serial
    Replies: 44
    Last Post: - 27th November 2006, 03:19
  4. A little DTMF help
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 48
    Last Post: - 30th May 2006, 01:31

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