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.

Issue with watchdog timer in AT89S52

Status
Not open for further replies.

ash8ashok21

Newbie level 3
Joined
Dec 10, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
I have written the following code for Setting the WatchdogTimer in 89s52.

Case:1

Code ASM - [expand]
1
2
3
4
5
START: MOV 8EH,#00H     ;Enabling Auxillary Register      
 
WDT:       MOV WDTRST,#1EH
           MOV WDTRST,#0E1H     
                RET


Error While compiling nd converting to HEX Code : Undefined Symbol "WDTRST".


Case:2

Code ASM - [expand]
1
2
3
4
5
START: MOV 8EH,#00H     ;Enabling Auxillary Register      
 
WDT:       MOV 0A6H,#1EH
           MOV 0A6H,#0E1H       
                RET


Error While compiling nd converting to HEX Code : NON-EXISTENT INTERNAL RAM ADDRESS for the address 0x0A6.

Wondering if the problem is with my compiler: 8051 Macro Assembler- version 4.05b.

Please Advise........
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top