无法连接到具有16MHz晶体的Atmega328P芯片

无法连接到具有16MHz晶体的Atmega328P芯片

本文介绍了无法连接到具有16MHz晶体的Atmega328P芯片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过eXtreme Burner连接到Atmega328P芯片.我使用22pf电容器和10K上拉进行复位.如果使用8 MHz晶振,则可以读取芯片.但是,如果我连接16MHz晶体,则无法读取.当我查看数据表时,它说8 MHz和16 MHz的熔丝位是相同的.我收到16 MHz的开机失败"错误消息.我正在使用USBASP编程器.请注意:使用8 MHz晶体时,尽管我能够读取设备,但会收到错误消息发现错误的芯片!继续".如果按确定",它将读取数据.使用8 MHz晶体读取的熔丝位为:低-FF,高-DE,扩展-FD,锁定保险丝-CF和校准-FFFFFFB1可能是什么问题?链接中的附加屏幕截图 http://www.filedropper.com/extremeburnererrors

I am trying to connect to Atmega328P chip through eXtreme Burner. I used 22pf capacitors and 10K pull for reset.I am able to read the chip if I use 8 MHz Crystal. But cannot read if I connect 16MHz crystal. When I looked at the datasheet, it says fuse bits are same for 8 MHz and 16 MHz. I get "Power On Failed" error message with 16 MHz. I am using USBASP programmer.Please note: With 8 MHz crystal, though I am able to read the device, I get error message "Incorrect Chip Found! Continue". If I press OK, it reads the data. The fuse bits read using 8 MHz crystal are: Low-- FF, High - DE, Extended -- FD, Lock Fuse - CF and Calibration - FFFFFFB1What could be the issue?Attached screen shots in the linkhttp://www.filedropper.com/extremeburnererrors

推荐答案

那么它不在您的设置中,因此它必须在您的硬件设置中.尝试使用不同的电容器值.如果我没记错的话,您必须随着晶体频率的变化而改变电容器的值.另外,您还必须考虑到面包板或PCB和焊料所增加的电感和电容.因此,我建议您使用不同的电容器值进行反复试验.

Its not in your settings then, so it must be in the setup of your hardware. Try different capacitor values. If I remember correctly, you have to vary the value of the capacitors as the frequency of your crystal varies. Also you have to take in to account the added inductance and capacitance of the breadboard or pcb and solder. So I would suggest just trial and error with different capacitor values.

这篇关于无法连接到具有16MHz晶体的Atmega328P芯片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 16:33