Maker Pro
Maker Pro

Controller is not running properly as per logic after removing PICKIT3 programmer

shrihari

Apr 30, 2015
8
Joined
Apr 30, 2015
Messages
8
Dear all,

I am using PIC16F877A microcontroller in my application. I have return code for the same and i am programming the chip through PICKIT3 programmer. The board is running as per programming logic as long as PICKIT3 is connected with it, when i remove the programmer the program will terminate automatically after some actions and controller is going in to infinite loop.

Please try to suggest me the solution to my problem.
 

hexreader

Apr 21, 2011
135
Joined
Apr 21, 2011
Messages
135
1) Turn off Low Voltage Programming (LVP) bit in configuration settings.

2) Connect a 10K resistor from MCLR pin to Vcc.
 

shrihari

Apr 30, 2015
8
Joined
Apr 30, 2015
Messages
8
Thanks for your suggestions.

I have did the both of two options. I have already turned off the LVP resister and also i have connected MCLR pin to Vcc vai 10k resister. I have also turned off the Watchdog timer. Instead of all setting i have did correct still it is getting reset after few actions. can you please suggest another few solutions to my problem.

thanks
 

pgib8

Jul 26, 2015
107
Joined
Jul 26, 2015
Messages
107
Try a very small sample program, then start adding in your other code and see where it fails. If the small sample program also fails, post it.
 
Top