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

    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

    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.


    Hi, we are pleased to see that you are using our forum.

    We'd like you to become a member of our community. Membership is FREE, please REGISTER and view our forums without these annoying reminders!

    Once registered you may post on the forums, download from the file areas and use the WIKI without interruption.





Similar Threads

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

Members who have read this thread : 3

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