文件名称:watch-dog
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-05-05
- 文件大小:
- 449kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
XEP100:当用户程序“跑飞”,看门狗产生一个强制系统复位。为了阻止看门狗复位,用户程序
必须定期的复位COP计数器。通过向COPCTL寄存器中写入0x00可以关闭看门狗。单片机复位
后的默认状态看门狗是关闭的。设置COPCTL寄存器可以设置看门狗的延迟周期。在COPCTL
设置的周期时间内,向ARMCOP寄存器先后写入0x55和0xaa,将清除COP看门狗定时器,但
不会对寄存器内容造成影响。向ARMCOP中写入除了0x55和0xaa的任何值将导致系统的复位。-XEP100: When the user program "run away" by watchdog produces a force a system reset. In order to prevent the watchdog reset, the user program
Must periodically reset the COP counter. Can turn off the watchdog through write to COPCTL register 0x00. MCU reset
The default state after watchdog is turned off. Set COPCTL register can set the delay period of the watchdog. COPCTL
Set cycle time, to the register ARMCOP has written to 0x55 and 0xAA, clears the COP watchdog timer, but
Register contents are not affected. To the the write ARMCOP addition to 0x55 and 0xAA any value will result in a system reset.
必须定期的复位COP计数器。通过向COPCTL寄存器中写入0x00可以关闭看门狗。单片机复位
后的默认状态看门狗是关闭的。设置COPCTL寄存器可以设置看门狗的延迟周期。在COPCTL
设置的周期时间内,向ARMCOP寄存器先后写入0x55和0xaa,将清除COP看门狗定时器,但
不会对寄存器内容造成影响。向ARMCOP中写入除了0x55和0xaa的任何值将导致系统的复位。-XEP100: When the user program "run away" by watchdog produces a force a system reset. In order to prevent the watchdog reset, the user program
Must periodically reset the COP counter. Can turn off the watchdog through write to COPCTL register 0x00. MCU reset
The default state after watchdog is turned off. Set COPCTL register can set the delay period of the watchdog. COPCTL
Set cycle time, to the register ARMCOP has written to 0x55 and 0xAA, clears the COP watchdog timer, but
Register contents are not affected. To the the write ARMCOP addition to 0x55 and 0xAA any value will result in a system reset.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
看门狗\bin\Project.abs
......\...\Project.abs.glo
......\...\Project.abs.s19
......\...\Project.map
......\cmd\TBDML_Erase_unsecure_hcs12xe.cmd
......\...\TBDML_Postload.cmd
......\...\TBDML_Preload.cmd
......\...\TBDML_Reset.cmd
......\...\TBDML_Startup.cmd
......\...\TBDML_Vppoff.cmd
......\...\TBDML_Vppon.cmd
......\COP.mcp
......\..._Data\CWSettingsWindows.stg
......\........\Standard\ObjectCode\datapage.c.o
......\........\........\..........\main.c.o
......\........\........\..........\MC9S12XEP100.c.o
......\........\........\..........\Start12.c.o
......\........\........\TargetDataWindows.tdt
......\C_Layout.hwl
......\Default.mem
......\prm\burner.bbl
......\...\Project.prm
......\Sources\datapage.c
......\.......\derivative.h
......\.......\main.c
......\.......\Start12.c
......\TBDML.ini
......\COP_Data\Standard\ObjectCode
......\........\Standard
......\bin
......\cmd
......\COP_Data
......\prm
......\Sources
看门狗