AVR 单片机熔丝位设置方法 AVR Studio 中STK500 处理熔丝位有巨大的优势:它是以功能组合让用户配置。这种方式与小马(PnoyProg2000,SL-ISP)相比,具有以下的优势(优势是如此明显,可以用“巨大优势”来形容): 1. 有效避免因不熟悉熔丝位让芯片锁死 (这是初学者的恶梦) 2. 不需要靠记忆与查文档,就能配置熔丝位(这也是初学者的恶梦)这是我们网站为何推荐使用STK500 下载器的又一原因。 操作界面如下: (注意:下图中,打勾的表示选中,代表 0。没有打勾的表示 1)。 上图的资料整理如下(该表下面有中文翻译与说明): On-Chip Debug Enabled; [OCDEN=0] JTAG Interface Enabled; [JTAGEN=0] Serial program downloading (SPI) enabled; [SPIEN=0] Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0] Boot Flash section size=128 words Boot start address=$1F80; [BOOTSZ=11] Boot Flash section size=256 words Boot start address=$1F00; [BOOTSZ=10] Boot Flash section size=512 words Boot start address=$1E00; [BOOTSZ=01] Boot Flash section size=1024 words Boot start address=$1C00; [BOOTSZ=00] ; default value Boot Reset vector Enabled (default address=$0000); [BOOTRST=0] CKOPT fuse (operation dependent of CKSEL fuses); [CKOPT=0] Brown-out detection level at VCC=4.0 V; [BODLEVEL=0] Brown-out detection level at VCC=2.7 V; [BODLEVEL=1] Brown-out detection enabled; [BODEN=0] Ext. Clock; Start-up time: 6 CK + 0 ms; [CKSEL=0000 SUT=00] Ext. Clock; Start-up time: 6 CK + 4 ms; [CKSEL=0000 SUT=01] Ext. Clock; Start-up time: 6 CK + 64 ms; [CKSEL=0000 SUT=10] Int. RC Osc. 1 MHz; Start-up time: 6 CK + 0 ms; [CKSEL=0001 SUT=00] Int. RC Osc. 1 MHz; Start-up time: 6 CK + 4 ms; [CKSEL=0001 SUT=01] Int. RC Osc. 1 MHz; Start-up time: 6 CK + 64 ms; [CKSEL=0001 SUT=10]; default value Int. RC Osc. 2 MHz; Start-up time: 6 CK + 0 ms; [CKSEL=0010 SUT=00] Int. RC Osc. 2 MHz; Start-up time: 6 CK + 4 ms; [CKSEL=0010 SUT=01] Int. R...