PDA

View Full Version : Start on power up pic16f886



CESSKO
- 14th April 2010, 12:22
Can any1 tell me how to configure pic16f886 in assembly,to start on power up
now i start it with my pickit,but i want him to start on power up.thanks;);)

Bruce
- 14th April 2010, 22:50
Can any1 tell me how to configure pic16f886 in assembly,to start on power up
Yes. Build the minimal required circuit for your PIC like connections to Vcc & ground, resistor to Vcc - MCLR, then apply power. There are no magical instructions in assembler, BASIC, or anything else, to tell it to start...;o)

Program it, then apply power, and bingo - it starts.

CESSKO
- 15th April 2010, 06:40
:).But i have Vcc & ground, resistor to Vcc - MCLR, and program,but it doesent want to start,i make it start from PC ,with mplab.(i use pickit-3 ).i was hoping there is some start up bit or.....similar.what could be a problem
THANKS;)

mackrackit
- 15th April 2010, 07:01
When you are trying to start it with out the PicKit3 what are you using for a power supply?

CESSKO
- 15th April 2010, 07:18
Thanks guys a lot.The problem was i programming it in debugger,and of course wont start,but when i use programmer...whole different story...
Thanks for quick reply,i am very new in programing,but planning hard work;););)