绿林网页 发表于 2012-12-22 20:22:39

ATMEGA16L-8PU 及相关疑问

本帖最后由 绿林网页 于 2012-12-22 20:26 编辑

想买ATMEGA328,没买到,买了块儿 ATMEGA16L,想搭建最小系统,求助
疑问一:引导程序在哪里下载到?
疑问二:ArduinoIDE刷引导程序如何调整熔丝位?

ATMEGA16L-8PU AVR/8位微控制器 16K闪存 DIP-40
附相关资料:
引脚图

熔丝位资料




keyan189 发表于 2012-12-22 21:48:17

e..求高人指点,我是新手

nengcai0313 发表于 2012-12-22 22:22:56

本帖最后由 nengcai0313 于 2012-12-22 22:25 编辑

mega16的BootLoader:

熔丝位我用FF 88。晶振12M。http://www.geek-workshop.com/thread-1856-1-1.html

绿林网页 发表于 2012-12-23 13:36:44

nengcai0313 发表于 2012-12-22 22:22 static/image/common/back.gif
mega16的BootLoader:

熔丝位我用FF 88。晶振12M。http://www.geek-workshop.com/thread-1856-1-1.html

非常感谢!
能告诉我,从哪里找bootloader下载吗?我想知道网址

绿林网页 发表于 2012-12-23 13:45:50

nengcai0313 发表于 2012-12-22 22:22 static/image/common/back.gif
mega16的BootLoader:

熔丝位我用FF 88。晶振12M。http://www.geek-workshop.com/thread-1856-1-1.html

文件夹都拷贝进去了,ArduinoIDE里的板卡选项里,没有出现Atmega16L的板子,能详细说一下吗?

mxx_xm 发表于 2012-12-25 22:34:00

你要在\hardware\arduino\boards.txt中添加
请参考论坛中的帖子

绿林网页 发表于 2012-12-26 20:36:35

绿林网页 发表于 2012-12-23 13:45 static/image/common/back.gif
文件夹都拷贝进去了,ArduinoIDE里的板卡选项里,没有出现Atmega16L的板子,能详细说一下吗?


再问一下,手头没有12M晶振,用16M晶振可以吗?

绿林网页 发表于 2012-12-26 21:26:13

D:\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CD:\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega16 -cusbtiny -e -Ulock:w:0x3F:m -Uhfuse:w:0x98:m -Ulfuse:w:0xcf:m

avrdude: Version 5.11, compiled on Sep2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "D:\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

         Using Port                  : lpt1
         Using Programmer            : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: bus-0:\\.\libusb0-0001--0x1781-0x0c9f
         AVR Part                      : ATMEGA16
         Chip Erase delay            : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode         : yes
         parallel program mode         : yes
         Timeout                     : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail               :

                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         eeprom         4    10   128    0 no      512    4      090009000 0xff 0xff
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         flash         33   6   128    0 yes   16384128    12845004500 0xff 0xff
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         lock         0   0   0    0 no          1    0      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         lfuse          0   0   0    0 no          1    0      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         hfuse          0   0   0    0 no          1    0      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         signature      0   0   0    0 no          3    0      0   0   0 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         calibration    0   0   0    0 no          4    0      0   0   0 0x00 0x00

         Programmer Type : USBtiny
         Description   : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported

avrdude: Using SCK period of 10 usec
CMD:
CMD:
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.Thank you.

这是啥意思,失败咯

绿林网页 发表于 2012-12-26 22:49:07

终于搞定了,一会儿上图文

绿林网页 发表于 2012-12-27 22:37:39

绿林网页 发表于 2012-12-26 21:26 static/image/common/back.gif
这是啥意思,失败咯

原来是下载器接错线了

绿林网页 发表于 2012-12-27 22:38:09

绿林网页 发表于 2012-12-26 22:49 static/image/common/back.gif
终于搞定了,一会儿上图文

图文见帖子:http://www.geek-workshop.com/thread-3017-1-1.html

445814907 发表于 2013-2-3 20:23:38

nengcai0313 发表于 2012-12-22 22:22 static/image/common/back.gif
mega16的BootLoader:

熔丝位我用FF 88。晶振12M。http://www.geek-workshop.com/thread-1856-1-1.html

您好我想请教此时   您发的这个bootloader解压后是一个 M2Arduino 文件夹放在IDE的哪里啊?我放在optiboot 文件夹下了不好用的

太行摄狼 发表于 2013-4-10 23:16:59

写详细点呗,俺去研究下 有问题了请教

jiany 发表于 2013-5-15 13:35:33

445814907 发表于 2013-2-3 20:23 static/image/common/back.gif
您好我想请教此时   您发的这个bootloader解压后是一个 M2Arduino 文件夹放在IDE的哪里啊?我放在o ...

M2Arduino文件夹是放在hardware文件夹里的。

sx0654 发表于 2015-6-28 18:31:02

正好有个16的旧版子,试试
页: [1]
查看完整版本: ATMEGA16L-8PU 及相关疑问