文件名称:F2812WD
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:945byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
F2812的看门狗总结
这是我总结的F2812的看门狗功能使用!
看门狗,又叫 watchdog timer,是一个定时器电路, 一般有一个输入,叫喂狗,一个输出到MCU的RST端,MCU正常工作的时候,每隔一端时间输出一个信号到喂狗端,给 WDT 清零,如果超过规定的时间不喂狗,(一般在程序跑飞时),WDT 定时超过,就回给出一个复位信号到MCU,是MCU复位. 防止MCU死机. 看门狗的作用就是防止程序发生死循环,或者说程序跑飞。
工作原理:在系统运行以后也就启动了看门狗的计数器,看门狗就开始自动计数,如果到了一定的时间还不去清看门狗,那么看门狗计数器就会溢出从而引起看门狗中断,造成系统复位。所以在使用有看门狗的芯片时要注意清看门狗。
硬件看门狗是利用了一个定时器,来监控主程序的运行,也就是说在主程序的运行过程中,我们要在定时时间到之前对定时器进行复位如果出现死循环,或者说PC指针不能回来。那么定时时间到后就会使单片机复位。
TMS320F2812中涉及到看门狗的寄存器有:系统控制与状态寄存器SCSR,此寄存器包括看门狗覆盖位和看门狗中断使能/无效位。一般系统复位时,看门狗模块使能。-The watchdog concluded F2812
This is my summary of the F2812 s watchdog function to use!
Watchdog, also known as watchdog timer, a timer circuit, generally have an input, called the dogs, an output to the MCU
The RST terminal, MCU normal work time, every time one end of the output signal to feed the dog an end to the WDT is cleared, if more than
Do not feed the dog a specified time, (usually when the program running out), WDT time than to give back to a reset signal to the MCU, is the MCU
Reset. To prevent the MCU crash. Watchdog role is to prevent the occurrence of infinite loop program, or program running out.
How it works: the system will start running after a watchdog counter, watchdog began to automatic counting, if to
Certain period of time not to clear the watchdog, then the watchdog counter will overflow causing the watchdog interrupt, causing the system re-
Bit. Therefore, use the chips to the attention of the watchdog clear watchdog.
Is to use a hardware wat
这是我总结的F2812的看门狗功能使用!
看门狗,又叫 watchdog timer,是一个定时器电路, 一般有一个输入,叫喂狗,一个输出到MCU的RST端,MCU正常工作的时候,每隔一端时间输出一个信号到喂狗端,给 WDT 清零,如果超过规定的时间不喂狗,(一般在程序跑飞时),WDT 定时超过,就回给出一个复位信号到MCU,是MCU复位. 防止MCU死机. 看门狗的作用就是防止程序发生死循环,或者说程序跑飞。
工作原理:在系统运行以后也就启动了看门狗的计数器,看门狗就开始自动计数,如果到了一定的时间还不去清看门狗,那么看门狗计数器就会溢出从而引起看门狗中断,造成系统复位。所以在使用有看门狗的芯片时要注意清看门狗。
硬件看门狗是利用了一个定时器,来监控主程序的运行,也就是说在主程序的运行过程中,我们要在定时时间到之前对定时器进行复位如果出现死循环,或者说PC指针不能回来。那么定时时间到后就会使单片机复位。
TMS320F2812中涉及到看门狗的寄存器有:系统控制与状态寄存器SCSR,此寄存器包括看门狗覆盖位和看门狗中断使能/无效位。一般系统复位时,看门狗模块使能。-The watchdog concluded F2812
This is my summary of the F2812 s watchdog function to use!
Watchdog, also known as watchdog timer, a timer circuit, generally have an input, called the dogs, an output to the MCU
The RST terminal, MCU normal work time, every time one end of the output signal to feed the dog an end to the WDT is cleared, if more than
Do not feed the dog a specified time, (usually when the program running out), WDT time than to give back to a reset signal to the MCU, is the MCU
Reset. To prevent the MCU crash. Watchdog role is to prevent the occurrence of infinite loop program, or program running out.
How it works: the system will start running after a watchdog counter, watchdog began to automatic counting, if to
Certain period of time not to clear the watchdog, then the watchdog counter will overflow causing the watchdog interrupt, causing the system re-
Bit. Therefore, use the chips to the attention of the watchdog clear watchdog.
Is to use a hardware wat
(系统自动生成,下载前可以参看下载内容)
下载文件列表
F2812的看门狗总结.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.