文件名称:F2812WD
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- bonw****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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