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.

reset for pic16f877a

Status
Not open for further replies.

SABRAMANSOUR

Junior Member level 2
Joined
Dec 16, 2014
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
127
what's the code for reset for pic16F877A using mikro C
 

I don't think there is one but there are several methods to force a reset:

1. If the watchdog timer is enabled, go into a loop that does not reset the watchdog so it eventually times out and performs a hardware reset.

2. Use a direct call to the reset vector, you may have to do this using an assembly statement.

Note that both these methods will leave the PCON register showing that a power-on reset has not ocurred.

Brian.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top