单片机容易死机,用看门狗了还会死机,请高手请指点,
用在220V逆变器自动控制与电力整流后的地线共同GND,
另我做了一个电机转速测量的单片数码显示3位七段LED的单独用5V电池电源也会死机,这说明不是电源问题,我是用台湾义隆78P458单片机.看门狗放在主程序里清零.常看到显示数据不动,转速在转.
![](http://u.dianyuan.com/bbs/u/66/109541213357019.gif)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/66/109541213357019.gif');}" onmousewheel="return imgzoom(this);">
![](http://u.dianyuan.com/bbs/u/66/109541213357100.gif)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/66/109541213357100.gif');}" onmousewheel="return imgzoom(this);">
下面是程序只有170条指令
109541213357294.xls