i have problem when i programming pic16f877a

Discussion in 'Programmer's Corner' started by iman86, Mar 13, 2011.

  1. iman86

    Thread Starter New Member

    Mar 13, 2011
    hi everybody;)
    i have got error message when i program pic16f877a
    this message is "ERROR -> writing address 0x000000
    writing :0x1683 Read : 0x3FFF "
    please can anyone help me?

    i don't know what is the problem.:confused:
    notice: i use winPic800 - v3.60.
    thank you.
  2. debjit625

    Well-Known Member

    Apr 17, 2010
    Their are many things for which it can happen
    1)Problem with your programmer hardware it may be disconnected or its not working properly.
    2)Also may be the mcu is dammaged.

    Which kind of programmer you are using?
  3. nigelwright7557

    AAC Fanatic!

    May 10, 2008
    You need to erase flash parts before you can program them.
    There is an option in the programmer menu.
  4. AlexR

    Well-Known Member

    Jan 16, 2008
    It is erased! 3FFF is the erased value of flash memory.
    The problem is data is not being written to flash for some reason. Either it is a faulty PIC16F877a or there is a fault in the programmer or even the programmer connections and/voltages.
  5. t06afre

    AAC Fanatic!

    May 11, 2009
    What kind of programmer hardware do you use? If it is some port powered serial programmer. I suspect to low programming voltage. It could also be problems related to the use of USB to serial programmers. Bottom line using this kind of programmer is to ask for troubble. get a PICKIT 2 or 3 they work.