Code programming error at 0000 - Page 2


Closed Thread
Page 2 of 2 FirstFirst 12
Results 41 to 42 of 42
  1. #41
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,585


    Did you find this post helpful? Yes | No

    Default Re: Code programming error at 0000

    I doubt you have hit a limit count, never heard of one for 16F or 18F PICs. You can always check the datasheet for your particular model. If there is a limit, it will be mentionned.

    Totally wild guess, could this have anything to do with a write-protected chip? The first write went well and any further write is refused?

    Robert

  2. #42
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    136


    Did you find this post helpful? Yes | No

    Default Re: Code programming error at 0000

    Hi Dave,

    According to the datasheet, the number of erase/write cycles this chip can take is 100,000. So this cannot be as to why you are seeing the error.
    Can you check if the MCLR pin goes to about 13v on clicking the program button without the chip in the programmer ?

    There are three common reasons as to why you could get the error:
    1) Damaged serial cable
    2) Damaged PIC
    3) The PIC was programmed the first time selecting Internal Oscillator with MCLR pin function disable.

    The third one may be the one causing the trouble for you.

    Also, write protecting a chip will not prevent it from erasing and re-writing.
    Just to eliminate any programmer faults, you can try with a new (never programmed before) chip.
    If this works, then your programmer does not provide VPP before VDD during programming.

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, 23:09
  2. Error programming 10F222
    By JoelMurphy in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 25th July 2009, 16:23
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 09:26
  4. "Program Memory Error" with MPLAB IDE (PBP)
    By aggie007 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th November 2007, 20:27
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 18: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