Error while writing program to PIC 16F877A using PICkit2 – electroSome https://electrosome.com/topic/16f877a-pickit2-write-error/feed/ Sat, 18 Mar 2023 04:53:15 +0000 https://bbpress.org/?v=2.6.9 en-US https://electrosome.com/topic/16f877a-pickit2-write-error/#post-13491 <![CDATA[Error while writing program to PIC 16F877A using PICkit2]]> https://electrosome.com/topic/16f877a-pickit2-write-error/#post-13491 Fri, 24 Feb 2017 12:10:54 +0000 Nizar Hi,

I am a beginner in this field. I am using PIC 16F877A microcontroller for my project. Everything is working fine in Proteus but in real hardware I am not even able to write the program to the IC. Screenshot of the error is attached.

 

]]>
https://electrosome.com/topic/16f877a-pickit2-write-error/#post-13513 <![CDATA[Reply To: Error while writing program to PIC 16F877A using PICkit2]]> https://electrosome.com/topic/16f877a-pickit2-write-error/#post-13513 Sun, 05 Mar 2017 05:42:22 +0000 Ligo George Hi,

Kindly attach your project files to investigate further. Check the following also.

  1. Make sure that you selected PIC 16F877A in the project settings. PIC 16F877 and 16F877A are different microcontrollers.
  2. You don’t need to check MCLR in the PICkit2 software
  3. You can uncheck Programmer >> Manual Device Select, PICkit2 will automatically detect the microcontroller. So you don’t need to select it manually.
  4. Make sure that the microcontroller you are using is PIC 16F877A not 16F877.
  5. If everything is correct, try using a new microcontroller ic.
]]>