Error while writing program to PIC 16F877A using PICkit2Nizar2017-03-05T11:08:42+00:00 Home › Forums › Microcontrollers › PIC Microcontroller › Error while writing program to PIC 16F877A using PICkit2 Tagged: 16F877A, PIC, PICKit2 This topic contains 1 reply, has 2 voices, and was last updated by Ligo George 11 months, 3 weeks ago. Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 24, 2017 at 5:40 pm #13491 NizarParticipant 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. Attachments:You must be logged in to view attached files. March 5, 2017 at 11:12 am #13513 Ligo GeorgeKeymaster Hi, Kindly attach your project files to investigate further. Check the following also. Make sure that you selected PIC 16F877A in the project settings. PIC 16F877 and 16F877A are different microcontrollers. You don’t need to check MCLR in the PICkit2 software You can uncheck Programmer >> Manual Device Select, PICkit2 will automatically detect the microcontroller. So you don’t need to select it manually. Make sure that the microcontroller you are using is PIC 16F877A not 16F877. If everything is correct, try using a new microcontroller ic. Author Posts Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.