i have problem when i programming pic16f877a

Thread Starter


Joined 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.


Joined 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?


Joined Jan 16, 2008
You need to erase flash parts before you can program them.
There is an option in the programmer menu.
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.


Joined 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.