欢迎来到天天文库
浏览记录
ID:5875813
大小:30.50 KB
页数:6页
时间:2017-12-27
《avr单片机熔丝位设置方法》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、AVR单片机熔丝位设置方法AVRStudio中STK500处理熔丝位有巨大的优势:它是以功能组合让用户配置。这种方式与小马(PnoyProg2000,SL-ISP)相比,具有以下的优势(优势是如此明显,可以用“巨大优势”来形容):1.有效避免因不熟悉熔丝位让芯片锁死(这是初学者的恶梦)2.不需要靠记忆与查文档,就能配置熔丝位(这也是初学者的恶梦)这是我们网站为何推荐使用STK500下载器的又一原因。操作界面如下:(注意:下图中,打勾的表示选中,代表0。没有打勾的表示1)。上图的资料整理如下(该表下面有中文翻译与说明):On-ChipDebugEnabled;[OCDEN=
2、0]JTAGInterfaceEnabled;[JTAGEN=0]Serialprogramdownloading(SPI)enabled;[SPIEN=0]PreserveEEPROMmemorythroughtheChipErasecycle;[EESAVE=0]BootFlashsectionsize=128wordsBootstartaddress=$1F80;[BOOTSZ=11]BootFlashsectionsize=256wordsBootstartaddress=$1F00;[BOOTSZ=10]BootFlashsectionsize=512words
3、Bootstartaddress=$1E00;[BOOTSZ=01]BootFlashsectionsize=1024wordsBootstartaddress=$1C00;[BOOTSZ=00];defaultvalueBootResetvectorEnabled(defaultaddress=$0000);[BOOTRST=0]CKOPTfuse(operationdependentofCKSELfuses);[CKOPT=0]Brown-outdetectionlevelatVCC=4.0V;[BODLEVEL=0]Brown-outdetectionlevelat
4、VCC=2.7V;[BODLEVEL=1]Brown-outdetectionenabled;[BODEN=0]Ext.Clock;Start-uptime:6CK+0ms;[CKSEL=0000SUT=00]Ext.Clock;Start-uptime:6CK+4ms;[CKSEL=0000SUT=01]Ext.Clock;Start-uptime:6CK+64ms;[CKSEL=0000SUT=10]Int.RCOsc.1MHz;Start-uptime:6CK+0ms;[CKSEL=0001SUT=00]Int.RCOsc.1MHz;Start-uptime:6CK
5、+4ms;[CKSEL=0001SUT=01]Int.RCOsc.1MHz;Start-uptime:6CK+64ms;[CKSEL=0001SUT=10];defaultvalueInt.RCOsc.2MHz;Start-uptime:6CK+0ms;[CKSEL=0010SUT=00]Int.RCOsc.2MHz;Start-uptime:6CK+4ms;[CKSEL=0010SUT=01]Int.RCOsc.2MHz;Start-uptime:6CK+64ms;[CKSEL=0010SUT=10]Int.RCOsc.4MHz;Start-uptime:6CK+0ms
6、;[CKSEL=0011SUT=00]Int.RCOsc.4MHz;Start-uptime:6CK+4ms;[CKSEL=0011SUT=01]Int.RCOsc.4MHz;Start-uptime:6CK+64ms;[CKSEL=0011SUT=10]Int.RCOsc.8MHz;Start-uptime:6CK+0ms;[CKSEL=0100SUT=00]Int.RCOsc.8MHz;Start-uptime:6CK+4ms;[CKSEL=0100SUT=01]Int.RCOsc.8MHz;Start-uptime:6CK+64ms;[CKSEL=0100SUT=1
7、0]Ext.RCOsc.-0.9MHz;Start-uptime:18CK+0ms;[CKSEL=0101SUT=00]Ext.RCOsc.-0.9MHz;Start-uptime:18CK+4ms;[CKSEL=0101SUT=01]Ext.RCOsc.-0.9MHz;Start-uptime:18CK+64ms;[CKSEL=0101SUT=10]Ext.RCOsc.-0.9MHz;Start-uptime:6CK+4ms;[CKSEL=0101SUT=11]Ext.RCOsc.0.9MHz-3.0MHz;Start-up
此文档下载收益归作者所有