当前位置:网站首页>Fuse bit of AVR study notes
Fuse bit of AVR study notes
2022-08-04 13:35:00 【uolian】
Fuse bit of AVR study notes
1. BOD (Brown-out Detection) power-down detection circuit
BODLEVEL (BOD level selection): 1: 2.7V level; 0: 4.0V level.This needs to be selected according to the operating voltage of the chip.
BODEN(BOD function control): 1: BOD function disabled; 0: BOD function enabled
How to use: If BODEN is enabled (check box is selected) to start power-down detection, the detection level is determined by BODLEVEL.Once the VCC drops below the trigger level (2.7v or 4.0v), the MCU resets; when the VCC level is greater than the trigger level, it starts to work again after the tTOUT delay cycle.
2. Reset startup time selection
SUT 1/0: When different crystal oscillators are selected, the SUT is different.If there are no special requirements, it is recommended that SUT 1/0 set the reset startup time to be slightly longer, so that the power supply rises slowly (ie SUT1: 1; SUT0: 0).
3, CKSEL3/2/10: Clock source selection.By default, CKSEL3-0, SUT1 and SYT0 are set to "0001" and "10" respectively, which will use the chip's 8mHz internal crystal oscillator and use the longest startup delay.
Configuration method:

4. M103: Set the ATmega103 compatible mode to work.The factory default setting is 0, which is to run in ATmega103 compatibility mode.
5. JTAGEN: If the JTAG interface is not used, the state of JTAGEN should be set to 1, that is, the JTAG function is disabled, and the JTAG pin is used for the I/O interface.
6, SPIEN: SPI mode download data and program permission, the default state is 0, generally keep its state.
7. WDTON: The watchdog timer is always on.The default is "1", which disables the watchdog timer from always on.Selecting "0" means that the watchdog timer is always on. It is recommended to set it to 0 to prevent the program from running away.
8. EESAVE: When EESAVE is set to "1", it means that when the chip is erased, the data in the flash and EEPROM will be erased together. If set to "0", the erase operation is only valid for the data in the flash.EEPROM is invalid.The factory default setting of the chip is "1".In practical applications, it needs to be set according to actual needs.
9. BOOTRST: Determines the address of the first instruction when it is powered on.The default state is "1", which means that the startup starts from 0x0000; if BOOTRST is set to "0", it starts from the starting position of BOOTLOADER (the first address of BOOTLOADER is determined by BOOTSZ1 and BOOTSZ0).
BOOTSZ1 and BOOTSZ0: These two bits determine the size and starting address of the BOOTLOADER.The default state is "00" for 4096 bytes, starting at 0xF000.
BOOLOADER area size configuration:
Note: inWhen setting the fuse bit, you must first determine whether "√" represents 1 or 0
边栏推荐
- 双目立体视觉笔记(三)三角测量、极线校正
- TS - type
- 【无标题】
- nVisual secondary development - Chapter 2 nVisual API operation guide Swagger use
- [UML] Summary of Information System Analysis and Design Knowledge Points
- MySQL性能指标TPS\QPS\IOPS如何压测?
- 漏洞复现 - - - Alibaba Nacos权限认证绕过
- 代码越写越乱?那是因为你没用责任链!
- How to stress the MySQL performance indicators TPS\QPS\IOPS?
- 博途200/1500PLC多段曲线控温FB(支持40段控温曲线、段曲线搜索、暂停、跳段等功能)
猜你喜欢

荧光磷脂PEG衍生物之一磷脂-聚乙二醇-荧光素,Fluorescein-PEG-DSPE

MySQL性能指标TPS\QPS\IOPS如何压测?

idea永久激活教程(新版)

c#之winform(软件开发)

This article sorts out the development of the main models of NLP

How to stress the MySQL performance indicators TPS\QPS\IOPS?

面试官:如何查看/etc目录下包含abc字符串的文件?

如何查找endnote文献中pdf文件的位置

新 Nsight Graph、Nsight Aftermath 版本中的性能提升和增强功能

牛客网刷题记录 || 链表
随机推荐
双目立体视觉笔记(二)
du命令_set命令选项
17种正则表达式
【毕设选题推荐】机器人工程专业毕设选题推荐
21天学习挑战赛--第二天打卡(setSystemUiVisibility、导航栏、状态栏)
PMP每日一练 | 考试不迷路-8.4(包含敏捷+多选)
使用SQLServer复制数据库
密码设置有关方法:不能相同字母,不能为连续字符
双目立体视觉笔记(三)三角测量、极线校正
数据库的基本概念
RK1126编译gdb 板子上gdb调试程序
TS - type
CReFF缓解长尾数据联邦学习(IJCAI 2022)
SCA兼容性分析工具(ORACLE/MySQL/DB2--->MogDB/openGauss/PostgreSQL)
Ultra-QuickSort
第四讲 SVN
文字编码 - XML 教程
PAT甲级:1038 Recover the Smallest Number
nVisual二次开发——第二章 nVisual API操作指南Swagger使用
leetcode 48. Rotate Image 旋转图像(Medium)