Code programming error at 0000


Closed Thread
Results 1 to 40 of 42

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    The EPIC plus uses the parallel port (printer), and must have a 25-pin cable.

    9-pin cables/adapters can only be used on serial (RS-232) ports.

    You can purchase the proper cable from melabs for about 10 bucks.

    http://www.melabs.com/products/accessry.htm#25

    best regards,
    Darrel

  2. #2
    yasser's Avatar
    yasser Guest


    Did you find this post helpful? Yes | No

    Unhappy

    i have a problem to erase 16F877A.I programmed the pic and worked well but i wanted to change the code.when i wanted to programe 16F877a again with EPIC software this message show :" this is not blank " and when i chose erase from menu, show "erase completely" but when i check the pic is blank or not , show " this is not blank at 0000=248B"
    and i couldent program again.
    pls help me.

    " my english language isnt very good.excuse me if i have some mistakes in the sentences."

  3. #3
    JDM160's Avatar
    JDM160 Guest


    Did you find this post helpful? Yes | No

    Default same error

    I am programming 100+ 16F767 and about 10% I am getting the Code programming error at 0000. Sometimes if I try several times, it will finally program successfully. Some of the pics just won't take the program and repeatedly give me this error. Does anyone know what the problem might be?

  4. #4
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Cool Solution to 0000 error

    Use an external power supply for the PIC.

    By external I mean a separate power supply just for the PIC. Ex: 7805.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  5. #5
    JDM160's Avatar
    JDM160 Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sayzer
    Use an external power supply for the PIC.

    By external I mean a separate power supply just for the PIC. Ex: 7805.

    Thank you for your input. I am a little confused though. I am programming with the serial programmer using the latest software. The pic is not "in circuit," it is in the zif socket. The programmer is being powered by the 15V power supply that was provided with the programmer.

  6. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I don't use an EPIC so don't ask me questions about it...

    However, I have on several occasions come across batches of PICs (these are factory new) that NEED to be erased prior to programming. Some PICs will program straight out of the tube, some will fail. But if an ERASE operation is performed first, they all program first time.

    By default for the last year, I've preset 'Erase before Programming' and I've not had any such programming errors since.

    btw... a forum SEARCH on "error 0000" brings up this topic which has been discussed several times. Perhaps there is something in an old thread which may help.

  7. #7
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Cool

    IF you decide to bend the power pins of the PIC up in the air and apply the voltage as what I call “in space” with the help of some crocodiles, it may work.

    You must make sure that you have the ground pin of PIC common with the ground of PCB board (programmer).

    Whatever you do just make sure that you power the pic with a separate power supply and have the ground common.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  8. #8
    JDM160's Avatar
    JDM160 Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks again guys...

    The pics are all new and I do blank check before programming. I added the 1uF capacitor to the power pins (as per information on melabs.com) but it made no difference at all. This fix was for another problem, but customer support recommended that I gave it a try.

    Erasing the chips first has no effect. The same chip will fail to program 10 times and then all of a sudden, it will work fine.. Very strange behavior. It seems to be related to the Pics though, not the programmer. I say that because some chips are just troublesome, and others (most) work on the first shot.

    Does anyone know of a good low-cost commercial programmer that can program all of the Pics?

Similar Threads

  1. Code doesn't work on 16F648A
    By Mr_Joe in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st September 2018, 22:09
  2. Error programming 10F222
    By JoelMurphy in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 25th July 2009, 15:23
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. "Program Memory Error" with MPLAB IDE (PBP)
    By aggie007 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th November 2007, 19:27
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 17:23

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