+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Newbie level 4
    Points: 156, Level: 2

    Join Date
    Apr 2012
    Posts
    7
    Helped
    0 / 0
    Points
    156
    Level
    2

    "PIC Programming error" --> error code verify error at 0000. 3FFF should be 2AB6.

    Hi guys

    I use a PIC16f877A and a EPICwin Programmer.
    I compiled my program in MikroC without any errors.
    I erased the IC and then started to programming it. but each time the below process occur!


    "device not blank.
    program anyway?"

    (I click the OK, and it start to program.... after a process it give me the below error...)


    "code verify error at 0000.
    3FFF should be 2AB6.
    continue verifying?"

    (when I Click OK this error happens with different numbers! such as below...)

    "code verify error at 0003.
    3FFF should be 09FB.
    continue verifying?"


    what should I do?
    meanwhile my program does not have any "Headers" (I mean #include <...> and such things!) I don't know what headers should I add? of course if needed!

    I should mention that I changed the IC (for assurance from IC crash).

    Regards,

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 25,005, Level: 38
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,790
    Helped
    1061 / 1061
    Points
    25,005
    Level
    38

    Re: "PIC Programming error" --> error code verify error at 0000. 3FFF should be 2AB6

    You need to make sure the device is erased before you program it. I'm not familiar with your programmer, but usually the erase step is part of programming; it sounds like you need to explicitly erase it in a separate step.



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 5
    Points: 13,929, Level: 28
    nandhu015's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    1,964
    Helped
    300 / 300
    Points
    13,929
    Level
    28
    Blog Entries
    18

    Re: "PIC Programming error" --> error code verify error at 0000. 3FFF should be 2AB6

    It seems to be the erasing didnt work..

    Try erasing manually...

    To confirm the erase use "Blank Check"



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 84,015, Level: 70
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,823
    Helped
    4588 / 4588
    Points
    84,015
    Level
    70

    Re: "PIC Programming error" --> error code verify error at 0000. 3FFF should be 2AB6

    3FFF is the normal content of an erased location so it might have erased but it didn't accept the new program. Erasing and programming are both done through the same serial interface to the PIC so it suggests either a connection problem or the programming voltage (VPP) is out of specification.

    Check you have the correct device selected - the 877 and 877A use different programming commands.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.


    1 members found this post helpful.

  5. #5
    Newbie level 4
    Points: 156, Level: 2

    Join Date
    Apr 2012
    Posts
    7
    Helped
    0 / 0
    Points
    156
    Level
    2

    Re: "PIC Programming error" --> error code verify error at 0000. 3FFF should be 2AB6

    Quote Originally Posted by betwixt View Post
    3FFF is the normal content of an erased location so it might have erased but it didn't accept the new program. Erasing and programming are both done through the same serial interface to the PIC so it suggests either a connection problem or the programming voltage (VPP) is out of specification.

    Check you have the correct device selected - the 877 and 877A use different programming commands.

    Brian.

    Thank you guys. specially betwixt,
    these comments helped me to solve it.



--[[ ]]--