Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to Restart PIC16f877A from Software.

Status
Not open for further replies.

cllunlu

Member level 4
Joined
Nov 21, 2006
Messages
76
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,900
Hello Friends,

How can I restart pic16f877a from software. I am using HI-TECH 9.83 version.

Can you help me?
 

There are many reset schemes available on a uC, and different effects on internal SFR due to each one. You should specify what exactly do you expect form that restarting.
 

Easiest way is to make an assembly call to the reset vector. It will 'cold start' the program but not set the bits in the PCON register.

Brian.
 

Perhaps the cleanest way to reach most of the requirements of an acceptable system restart, is just to temporarily enable the Watchdog (if not yet used).
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top