📄 bbs_content.jsp
字号:
<html>
<head>
<link REL='STYLESHEET' HREF='css/bbs.css' TYPE='text/css'>
</head>
<body bgcolor=#ffffff bgproperties='fixed' text='#000000' leftmargin='15' topmargin='0' marginwidth='15' marginheight='0'>
<title>KS0108的12864经常突然没有显示了,可能是干扰问题,我用一个I/O控制他的RESET端,为什么启动以后再RESET就无法显示了呢? (ourdev.cn 我们的电子开发社区)</title>
<script type="text/javascript">
function loadfunction(function_1)
{
var url = function_1.options[function_1.selectedIndex].value;
if (url != "")
{
if(function_1.options[function_1.selectedIndex].className=="class_1")
{
eval(function_1.options[function_1.selectedIndex].value);
}
else if(function_1.options[function_1.selectedIndex].className=="class_2")
{
window.open(url, "");
}
else
{
window.open(url, "class_3");
}
function_1.selectedIndex=0
}
return false;
}
</script>
<table width='100%' height='20' border=0 cellspacing=1 cellpadding=0 height=40 bgcolor=#eeeeee>
<tr>
<td width='26%'>
<span class='f01'>
<img src=./images/pixel.gif width='14' height='1'>你尚未登录
<img src=./images/pixel.gif width='7' height='1'><a href='login_interface.jsp?mother_form=bbs_content.jsp&bbs_sn=844660&bbs_id=9999&bbs_page_no=1' title='登录本论坛' class='tt4'>|登录</a>
<img src=./images/pixel.gif width='2' height='1'><a href='register_interface.jsp?mother_form=bbs_content.jsp&bbs_sn=844660&bbs_id=9999&bbs_page_no=1' title='快速注册新用户' class='tt4'>|快速注册</a>
<img src=./images/pixel.gif width='2' height='1'><span class='f03'><font color=#444444>|退出</font></span>
</span>
</td>
<td width='74%' align='right'>
<img src=./images/pixel.gif width='5' height='1'><a href=../index.html title='回到本站首页' class='tt4'>首页</a>
<img src=./images/pixel.gif width='5' height='1'><a href=bbs_list.jsp?search_mode=9&bbs_id=9999 class=tt4 target=_blank>酷贴</a>
<img src=./images/pixel.gif width='5' height='1'><a href='search_interface.jsp?mother_form=bbs_content.jsp&bbs_sn=844660&bbs_id=9999&bbs_page_no=1' target='_blank' title='搜索' class='tt4'>搜索</a>
<img src=./images/pixel.gif width='5' height='1'><a href='online_members_list.jsp' title='当前在线会员' target='_blank' class='tt4'>在线</a>
<img src=./images/pixel.gif width='2' height='1'>
<select name="list1">
<option>个人功能</option>
<option>--------------------</option>
<option>末登录不能使用本功能</option>
</select> <img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='5' height='1'><a href=http://www.mailshop.cn title='阿莫电子邮购服务部' target=_blank class='tt11'>本网站由阿莫电子邮购独家赞助</a>
</td>
</tr>
</table>
<table width=100% border=0 height=10 cellspacing='0' cellpadding='6' bgcolor=#ffffff>
<tr>
<td align=left valign=top>
<span class=tt1>
虚拟总论坛(可查看所有分论坛) -> 搜索作者回复:1a2b3c -> KS0108的12864经常突然没有显示了,可能是干扰问题,我用一个I/O控制他的RESET端,为什么启动以后再RESET就无法显示了呢?
</span>
</td>
<td align=center valign=top>
<span class=tt1>跳转至:</span>
<select name="forumid" onchange="window.location=('bbs_list.jsp?bbs_id='+this.options[this.selectedIndex].value)">
<option selected value='9999'>╟—虚拟总论坛(可查看所有分论坛)</option><option value='1000'>╟┬AVR (原ourAVR.com) 技术论坛</option><option value='1032'>║├ARM技术论坛</option><option value='1006'>║├51单片机</option><option value='1028'>║├PIC单片机</option><option value='1002'>║├DSP</option><option value='1029'>║├CPLD/FPGA</option><option value='2070'>║└其它单片机与PLC</option><option value='2060'>╟┬电子综合</option><option value='1009'>║├PCB(Protel等软件讨论)</option><option value='1040'>║└音响论坛</option><option value='2027'>╟┬航空模型</option><option value='1024'>║├机器人论坛</option><option value='1004'>║├电脑综合论坛</option><option value='1036'>║└上位机软件开发</option><option value='1003'>╟┬马潮老师专栏(AVR)</option><option value='1031'>║└shaoziyang专栏</option><option value='1026'>╟┬“ourDev开源充电器”设计活动</option><option value='1041'>║└家用防盗报警器DIY活动</option><option value='1020'>╟┬悠闲休息区 (灌水坛)</option><option value='1012'>║├网站建设与建议</option><option value='0020'>║└招标/招聘/自荐(项目招标、找工作、招人)</option><option value='1011'>╙┬二手交易置换论坛</option><option value='2040'> ├购买、求购、广告区</option><option value='2034'> └其它(非技术、非悠闲)</option>
</select>
</td>
<td align=right valign=top>
<span class=f01>登录后才能发表新主题</span>
</td>
</tr>
</table>
<table width='100%' border='0' height='30' cellspacing='0' cellpadding='6'>
<tr bgcolor=#5D7790>
<td width='81%' align='left'>
<span class='f06'><font color='#ffffff'>KS0108的12864经常突然没有显示了,可能是干扰问题,我用一个I/O控制他的RESET端,为什么启动以后再RESET就无法显示了呢?</font></span>
</td>
<td width='19%' align='center'>
<span class='f06'><font color='#FFFFFF'>回复数:</font><font color='#FFFFFF'>15</font>,点击数:189</font>
</span>
</td>
</tr>
</table>
<table style='TABLE-LAYOUT: fixed; WORD-BREAK: break-all' width='100%' border='0' cellpadding='6' cellspacing='0' >
<tr>
<td width='19%' bgcolor=#D1D9E2 align='left' class='f03' rowspan=2 style='border-top:solid #ffffff .5pt;border-left:solid #bbbbbb .5pt;border-bottom:solid #ffffff .5pt;border-right:solid #ffffff .5pt' valign=top>
【楼主位】 <font color=#000000>xiaobendan </font><br>
积分:<font color=#000000>670</font><br>
派别:<font color=#000000></font><br>
等级:<font color=#000000>------</font><br>
来自:<font color=#000000></font><br>
</td>
<td width='81%' bgcolor=#D1D9E2 class='f03' valign='top' style='border-top:solid #ffffff .5pt;border-left:none;border-bottom:none;border-right:solid #bbbbbb .5pt'>
<font color=#000000>程序启动时也是先对液晶RESET,然后开显示就正常了,我在程序里面进行定期RESET,但是一RESET后就不显示了,只有主程序RESET后才能正常显示,为什么?</font>
</td>
</tr>
<tr>
<td bgcolor=#D1D9E2 valign=bottom class='f03' style='border-top:none;border-left:none;border-bottom:solid #ffffff .5pt;border-right:solid #bbbbbb .5pt'>
</td>
</tr>
<tr>
<td width='19%' bgcolor=#D1D9E2 align='left' class='f03' style='border-top:none;border-left:solid #bbbbbb .5pt;border-bottom:solid #bbbbbb .5pt;border-right:solid #ffffff .5pt'>
<img src=./images/pixel.gif width='7' height='1'>2007-11-03,19:17:25
</td>
<td width='81%' bgcolor=#D1D9E2 class='f03' valign='top' style='border-top:none;border-left:none;border-bottom:solid #bbbbbb .5pt;border-right:solid #bbbbbb .5pt''>
<table width='100%'>
<tr>
<td align='left'>
<img src=./images/pixel.gif width='7' height='1'>
<a href='user_information.jsp?user_name=xiaobendan' target=_blank class='tt4' target=_blank>资料</a>
<img src=./images/pixel.gif width='7' height='1'>
<span class=f01>邮件</span>
<img src=./images/pixel.gif width='7' height='1'>
</td>
<td align='right'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<span class=f01>编辑</span>
<img src=./images/pixel.gif width='7' height='1'>
<span class=f01>删除</span>
<img src=./images/pixel.gif width='7' height='1'>
<img src=./images/pixel.gif width='7' height='1'>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table style='TABLE-LAYOUT: fixed; WORD-BREAK: break-all' width='100%' border='0' cellpadding='6' cellspacing='0' >
<tr>
<td width='19%' bgcolor=#e8e8e8 align='left' class='f03' rowspan=2 style='border-top:none;border-left:solid #bbbbbb .5pt;border-bottom:solid #bbbbbb .5pt;border-right:solid #bbbbbb .5pt' valign=top>
【1楼】 <font color=#000000>machao </font><br>
积分:<font color=#000000>3015</font><br>
派别:<font color=#000000></font><br>
等级:<font color=#000000>------</font><br>
来自:<font color=#000000></font><br>
</td>
<td width='81%' bgcolor=#e8e8e8 class='f03' valign='top' style='border-top:none;border-left:none;border-bottom:none;border-right:solid #bbbbbb .5pt'>
<font color=#000000>1。12864在RESET后也需要初始化。初始化包括自己内部的初始化和AVR对它的初始化。自己内部的初始化是需要时间的。
<br>
<br>2。上电后,AVR在3V(如果你没有使用BOD)就执行指令了,而12864则要在4V以上才开始工作。等12864开始工作,完成自己内部初始化后,可能你AVR对它的设置指令已经执行完了,这样的话,相当12864根本没有完成AVR对它的设置,后面就不能正常工作。典型现象就是,有时开机12864正常,有时开机不正常。解决办法,使用AVR的BOD功能,4V后在开始工作。开时工作后,延时一段时间再对12864下发初始设置指令。
<br>
<br>3。12864执行指令的速度慢,AVR是高速的,所以每发一条12864的命令,要加上1-2个us的延时,不能马上连续下发。
<br>
<br>4。12864有RESET脚,也可通过指令RESET。RESET脚一般不需要控制,而且硬件RESET后,启动时间长,相当上电的RESET。所以一般使用软件RESET。
<br>
<br>5。在程序里面进行定期RESET通常是不需要的,只要解决了2、3两点就行了。
<br>
<br>6。做任何东西,都要仔细看器件手册,不但是逻辑功能,时序要求也非常重要。学习51不重视和强调这点,因为51本身速度不快。而使用AVR就必须注意。AVR还不到20M,ARM要上100M,不养成良好的习惯,根本就不能上层次的。那些上来就学什么ARM的,如果仅仅是买快板,在别人的OS上设计个什么显示程序,就算掌握了ARM是不行的,因为底层有非常重要的东西,你根本没学到。</font>
</td>
</tr>
<tr>
<td bgcolor=#e8e8e8 valign=bottom class='f03' style='border-top:none;border-left:none;border-bottom:solid #bbbbbb .5pt;border-right:solid #bbbbbb .5pt'>
</td>
</tr>
<tr>
<td width='19%' bgcolor=#e8e8e8 align='left' class='f03' style='border-top:none;border-left:solid #bbbbbb .5pt;border-bottom:solid #bbbbbb .5pt;border-right:solid #bbbbbb .5pt'>
<img src=./images/pixel.gif width='7' height='1'>2007-11-03,20:02:10
</td>
<td width='81%' bgcolor=#e8e8e8 class='f03' valign='top' style='border-top:none;border-left:none;border-bottom:solid #bbbbbb .5pt;border-right:solid #bbbbbb .5pt''>
<table width='100%'>
<tr>
<td align='left'>
<img src=./images/pixel.gif width='7' height='1'>
<a href='user_information.jsp?user_name=machao' target=_blank class='tt4' target=_blank>资料</a>
<img src=./images/pixel.gif width='7' height='1'>
<span class=f01>邮件</span>
<img src=./images/pixel.gif width='7' height='1'>
</td>
<td align='right'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<img src=./images/pixel.gif width='2' height='1'>
<span class=f01>编辑</span>
<img src=./images/pixel.gif width='7' height='1'>
<span class=f01>删除</span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -