AVR单片机熔丝位设置方法_第1页
AVR单片机熔丝位设置方法_第2页
AVR单片机熔丝位设置方法_第3页
AVR单片机熔丝位设置方法_第4页
AVR单片机熔丝位设置方法_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、AVR单片机熔丝位设置方法AVR Studio中STK500处理熔丝位有巨大的优势: 它是以功能组合让用户配置。 这种方式与 小马(PnoyProg2000,SL-ISP)相比,具有以下的优势(优势是如此明显,可以用 巨大优势”来形 容):1. 有效避免因不熟悉熔丝位让芯片锁死(这是初学者的恶梦)2. 不需要靠记忆与查文档,就能配置熔丝位(这也是初学者的恶梦)这是我们网站为何推荐使用STK500下载器的又一原因。操作界面如下:(注意:下图中,打勾的表示选中,代表0。没有打勾的表示1)。上图的资料整理如下(该表下面有中文翻译与说明):On-Chip Debug En abled; OCDEN=0

2、JTAG In terface En abled; JTAGEN=0Serial program dow nl oadi ng (SPI) en abled; SPIEN=0Preserve EEPROM memory through the Chip Erase cycle; EESA VE=0Boot Flash section size=128 words Boot start address=$1F80; BOOTSZ=11Boot Flash section size=256 words Boot start address=$1F00; BOOTSZ=10Boot Flash se

3、ction size=512 words Boot start address=$1E00; BOOTSZ=01Boot Flash section size=1024 words Boot start address=$1C00; BOOTSZ=00 ; default valueBoot Reset vector En abled (default address=$0000); BOOTRST=0CKOPT fuse (operatio n depe ndent of CKSEL fuses); CKOPT=0Brow n-out detectio n level at VCC=4.0

4、V; BODLEVEL=0Brow n-out detectio n level at VCC=2.7 V; BODLEVEL=1Brow n-out detectio n en abled; BODEN=0Ext. Clock; Start-up time: 6 CK + 4 ms; CKSEL=0000 SUT=01Ext. Clock; Start-up time: 6 CK + 0 ms; CKSEL=0000 SUT=00Ext. RC Osc. 3.0 MHz - 8.0 MHz; Start-up time: 18 CK + 4 ms; CKSEL=0111 SUT=01Int.

5、 RC Osc. 1 MH z; Start-up time: 6 CK + 0 ms; CKSEL=0001 SUT=00Int. RC Osc. 1 MH z; Start-up time: 6 CK + 4 ms; CKSEL=0001 SUT=01Int. RC Osc. 1 MH z; Start-up time: 6 CK + 64 ms; CKSEL=0001 SUT=10; default valueInt. RC Osc. 2 MH z; Start-up time: 6 CK + 0 ms; CKSEL=0010 SUT=00Int. RC Osc. 2 MH z; Sta

6、rt-up time: 6 CK + 4 ms; CKSEL=0010 SUT=01Int. RC Osc. 2 MH z; Start-up time: 6 CK + 64 ms; CKSEL=0010 SUT=10Int. RC Osc. 4 MH z; Start-up time: 6 CK + 0 ms; CKSEL=0011 SUT=00Int. RC Osc. 4 MH z; Start-up time: 6 CK + 4 ms; CKSEL=0011 SUT=01Int. RC Osc. 4 MH z; Start-up time: 6 CK + 64 ms; CKSEL=001

7、1 SUT=10Int. RC Osc. 8 MH z; Start-up time: 6 CK + 0 ms; CKSEL=0100 SUT=00Int. RC Osc. 8 MH z; Start-up time: 6 CK + 4 ms; CKSEL=0100 SUT=01Int. RC Osc. 8 MHz; Start-up time: 6 CK + 64 ms; CKSEL=0100 SUT=10Ext. RC Osc. - 0.9 MHz; Start-up time: 18 CK + 0 ms; CKSEL=0101 SUT=00Ext. RC Osc. - 0.9 MH z;

8、 Start-up time: 18 CK + 4 ms; CKSEL=0101 SUT=01Ext. RC Osc. - 0.9 MH z; Start-up time: 18 CK + 64 ms; CKSEL=0101 SUT=10Ext. RC Osc. - 0.9 MH z; Start-up time: 6 CK + 4 ms; CKSEL=0101 SUT=11Ext. RC Osc. 0.9MHz- 3.0 MHz; Start-up time:18CK+ 0 ms; CKSEL=0110 SUT=00Ext. RC Osc. 0.9MHz- 3.0 MHz; Start-up

9、 time:18CK+ 4 ms; CKSEL=0110 SUT=01Ext. RC Osc. 0.9MHz- 3.0 MHz; Start-up time:18CK+ 64 ms; CKSEL=0110 SUT=10Ext. RC Osc. 0.9MHz- 3.0 MHz; Start-up time:6CK +4 ms; CKSEL=0110 SUT=11Ext. RC Osc. 3.0 MHz - 8.0 MHz; Start-up time: 18 CK + 64 ms; CKSEL=0111 SUT=10Ext. RC Osc. 3.0 MHz - 8.0 MH z; Start-u

10、p time: 6 CK + 4 ms; CKSEL=0111 SUT=11Ext. RC Osc. 8.0 MHz - 12.0 MH z; Start-up time: 18 CK + 0 ms; CKSEL=1000 SUT=00Ext. RC Osc. 8.0 MHz - 12.0 MHz; Start-up time: 18 CK + 4 ms; CKSEL=1000 SUT=01Ext. RC Osc. 8.0 MHz - 12.0 MHz; Start-up time: 18 CK + 64 ms; CKSEL=1000 SUT=10Ext. RC Osc. 8.0 MHz -

11、12.0 MH z; Start-up time: 6 CK + 4 ms; CKSEL=1000 SUT=11Ext. Low-Freq. Crystal; Start-up time: 1K CK + 4 ms; CKSEL=1001 SUT=00Ext. Low-Freq. Crystal; Start-up time: 1K CK + 64 ms; CKSEL=1001 SUT=01Ext. Low-Freq. Crystal; Start-up time: 32K CK + 64 ms; CKSEL=1001 SUT=10Ext. Crystal/Reso nator Low Fre

12、q.; Start-up time: 258 CK + 4 ms; CKSEL=1010 SUT=00Ext. Crystal/Res on ator Low Freq.; Start-up time: 258 CK + 64 ms; CKSEL=1010 SUT=01Ext. Crystal/Reso nator Low Freq.; Start-up time: 1K CK + 0 ms; CKSEL=1010 SUT=10Ext. Crystal/Reso nator Low Freq.; Start-up time: 1K CK + 4 ms; CKSEL=1010 SUT=11Ext

13、. Crystal/Reso nator Low Freq.; Start-up time: 1K CK + 64 ms; CKSEL=1011 SUT=00Ext. Crystal/Res on ator Low Freq.; Start-up time: 16K CK + 0 ms; CKSEL=1011 SUT=01Ext. Crystal/Res on ator Low Freq.; Start-up time: 16K CK + 4 ms; CKSEL=1011 SUT=10Ext. Crystal/Reso nator Low Freq.; Start-up time: 16K C

14、K + 64 ms; CKSEL=1011 SUT=11Ext. Crystal/Res on ator Medium Freq.; Start-up time: 258 CK + 4 ms; CKSEL=1100 SUT=00Ext. Crystal/Reso nator Medium Freq.; Start-up time: 258 CK + 64 ms; CKSEL=1100 SUT=01Ext. Crystal/Reso nator Medium Freq.; Start-up time: 1K CK + 0 ms; CKSEL=1100 SUT=10Ext. Crystal/Res

15、o nator Medium Freq.; Start-up time: 1K CK + 4 ms; CKSEL=1100 SUT=11Ext. Crystal/Reso nator Medium Freq.; Start-up time: 16K CK + 0 ms; CKSEL=1101 SUT=01Ext. Crystal/Reso nator Medium Freq.; Start-up time: 16K CK + 4 ms; CKSEL=1101 SUT=10Ext. Crystal/Reso nator Medium Freq.; Start-up time: 16K CK +

16、64 ms; CKSEL=1101 SUT=11Ext. Crystal/Reso nator High Freq.; Start-up time: 258 CK + 4 ms; CKSEL=1110 SUT=00Ext. Crystal/Reso nator High Freq.; Start-up time: 258 CK + 64 ms; CKSEL=1110 SUT=01Ext. Crystal/Reso natorHighFreq.; Start-uptime:1K CK + 0 ms; CKSEL=1110 SUT=10Ext. Crystal/Reso natorHighFreq

17、.; Start-uptime:1K CK + 4 ms; CKSEL=1110 SUT=11Ext. Crystal/Res on atorHighFreq.; Start-uptime:1K CK + 64 ms; CKSEL=1111 SUT=00Ext. Crystal/Reso natorHighFreq.; Start-uptime:16K CK + 0 ms; CKSEL=1111 SUT=01Ext. Crystal/Reso natorHighFreq.; Start-uptime:16K CK + 4 ms; CKSEL=1111 SUT=10Ext. Crystal/Re

18、so nator High Freq.; Start-up time: 16K CK + 64 ms; CKSEL=1111 SUT=11上表的英文翻译说明如下:英文中文On-Chip Debug En abled片内调试使能JTAG In terface En abledJTAG接口使能Serial program dow nl oadi ng (SPI) en abled串行编程下载(SPI)使能(ISP下载时该位不能修改)Preserve EEPROM memory through the Chip Erase cycle;芯片擦除时EEPROM的内容保留Boot Flash sect

19、ion size=xxxx words引导(Boot)区大小为xxx个词Boot start address=$yyyy;引导(Boot)区开始地址为 $yyyyBoot Reset vector En abled引导(Boot)、复位 向量 使能Brow n-out detect ion level at VCC=xxxx V;掉电检测的电平为VCC=xxxx伏Brow n-out detect ion en abled;掉电检测使能Start-up time: xxx CK + yy ms启动时间xxx个时钟周期 + yy毫秒Ext. Clock;外部时钟Int. RC Osc.内部RC(阻容)振荡器Ext. RC Osc.外部RC(阻容)振荡器Ext. Low-Freq. Crys

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论