基于Keil C51的软件看门狗系统设计  被引量:9

Soft-Watchdog System Design Based on Keil C51

在线阅读下载全文

作  者:范立南[1] 李震[1,2] 周胜来[1] 李荃高[1] 

机构地区:[1]沈阳大学信息工程学院,辽宁沈阳110044 [2]东北大学信息科学与工程学院,辽宁沈阳110006

出  处:《计算机技术与发展》2009年第1期154-156,160,共4页Computer Technology and Development

基  金:辽宁省教育科技基金项目(20060573)

摘  要:介绍了一种基于Keil C51环境的软件看门狗设计方法。通过设置程序、喂狗程序和中断服务程序的有效配合,解决软件模块的稳定性问题。设置程序在模块开始处对看门狗系统进行初值设定,喂狗程序在模块结束时进行参数设置。通过T0中断服务程序监视软件模块的运行,T1中断服务程序监视T0定时器的运行,设置程序监视T0和T1的运行,以达到看门狗系统的循环监视。此设计方法可以提高程序模块的稳定性,特别是对于顺序控制结构的软件尤为适用。Presents a kind of soft-watchdog based on Keil C51. The efficient cooperation between the setting program, dog- food program and interrupting serve program solves the problem of stability of software modules. Setting program is designed for setting initial value. Dog- food prgram is designed for setting parameters when software module runs to end. TO interrupting serve program monitors soft- ware module, T1 interrupting serve program monitors TO counter,and setting program monitors TO and T1. This cycling monitoring system can enhance the stability of software modules, especially for the software which has a sequential structttre.

关 键 词:软件模块 看门狗 KEIL C51 

分 类 号:TP273.5[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象