Evaluation Kit User Guide
TIMING CONSIDERATIONS WHEN DEBUGGING
UG-041
Other timing considerations to keep in mind are as follows:
As with other 8052-based parts, the watchdog on ADuC8xx
parts is not stopped during debugging. This leads to unpre-
dictable results when the watchdog timer times out. During
initial development, it is recommended that the watchdog timer
be left disabled. For final software, Analog Devices suggests that
you include code similar to the code that follows.
When debugging, place a breakpoint at the second line shown, and
when this breakpoint is reached manually, using the debugger,
change the value in cWdcon to 0x00 so that the watchdog does
not start. This scheme ensures that the program is debugged as
it will be placed in the field. The watchdog itself cannot be
debugged by the debugger.
?
?
As with other 8052-based debuggers, the user should not halt
the ADuC8xx if the part is either in idle or power-down
mode. When a break from either power saving mode
occurs, the debugger will not be able to regain control of
the part and the debug interface will crash.
The timers on the ADuC8xx are not stopped on a break
from emulation. They continue to run if left enabled when
breaking from emulation.
cWdcon = 0xe2 ;
WdWr(cWdcon);
cWdcon:
//Place parameters for watchdog in variable cWdcon.
//Call assembly function to start watchdog.
//Assume interrupts not enabled.
setb
WDWR
mov
WDCON,r7
//Parameter cWdcon passed in r7.
ret
Rev. B | Page 11 of 16
相关PDF资料
EVAL-ADUM3070EBZ BOARD EVAL FOR ADUM3070
EVAL-SDP-CB1Z BOARD EVALUATION FOR SDP-CB1
EVB51JM128 BOARD EVAL FOR MCF51JM128 MCU
EVBQE128 BOARD EVAL FLEXIS QE128 FAMILY
F2068 PNL FIBERGLASS 18.44X14.44" WHT
FAN3100CMPX IC GATE DRVR SGL CMOS 2A 6MLP
FAN3111CSX IC GATE DVR 1CH 1A LOW SOT23-5
FAN3111ESX IC GATE DVR SGL 1A EXTER SOT23-5
相关代理商/技术参数
EVAL-ADUC845QSZ 功能描述:KIT DEV FOR ADUC845 QUICK START RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ 套件 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)
EVAL-ADUC846QS 制造商:AD 制造商全称:Analog Devices 功能描述:MicroConverter, Dual 16-Bit ADCs with Embedded 62kB FLASH MCU
EVAL-ADUC846QSP 制造商:AD 制造商全称:Analog Devices 功能描述:MicroConverter, Dual 16-Bit ADCs with Embedded 62kB FLASH MCU
EVAL-ADUC847QS 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Bulk
EVAL-ADUC847QSP 制造商:Analog Devices 功能描述:MICROCONVERTER?, 1-CYCLE 8052 MCU + 10-CHANNEL, 24-BIT ADC, - Bulk
EVAL-ADUC847QSZ 功能描述:KIT DEV QUICK START FOR ADUC847 RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ 套件 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)
EVAL-ADUC848QSP 制造商:Analog Devices 功能描述:MICROCONVERTER?, 1-CYCLE 8052 MCU + 10-CHANNEL,16-BIT ADC, - Bulk
EVAL-ADUC-CABLE1 制造商:Analog Devices 功能描述: