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 disable WatchDog timer

Status
Not open for further replies.

yousufsaleem

Junior Member level 1
Junior Member level 1
Joined
Mar 7, 2012
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,414
how to disable watchdog timer in PIC18F452


when programming it on Assembly language

and using software MP LAB for programming
 

Select Configure in MPLAB IDE and then configuration bits.
Un check the Set Configuration bits in code and proceed further by changing appropriate bit

or

See the __CONFIG directive, section 5.9 in the User's Guide, and look at the *.INC file for your processor (or the template file) for the available config bit names.

- - - Updated - - -

for example

Code:
#include p16f877a.inc   ;include file with config bit definitions
__config _HS_OSC & _WDT_OFF & _LVP_OFF  ;Set oscillator to HS,
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top