Connect with us

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

Discussion in 'Microcontrollers, Programming and IoT' started by shrihari, Jul 26, 2015.

Scroll to continue with content
  1. shrihari


    Apr 30, 2015
    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.
  2. hexreader


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

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


    Apr 30, 2015
    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.

  4. pgib8


    Jul 26, 2015
    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.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day