edward0429 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Please add board for Arduino Mini w/ 328 #710

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SparkFun is selling an Arduino Mini upgraded with a 328. There's a lot of 
strife on the forums about the IDE not supporting this.

Could someone just add the below to boards.txt for the next software release? 
It fixes the problem.

mini328.name=Arduino Mini with ATmega328

mini328.upload.protocol=stk500
mini328.upload.maximum_size=28672
mini328.upload.speed=115200

mini328.bootloader.low_fuses=0xff
mini328.bootloader.high_fuses=0xd8
mini328.bootloader.extended_fuses=0x05
mini328.bootloader.path=bt
mini328.bootloader.file=ATmegaBOOT_168_atmega328.hex
mini328.bootloader.unlock_bits=0x3F
mini328.bootloader.lock_bits=0x0F

mini328.build.mcu=atmega328p
mini328.build.f_cpu=16000000L
mini328.build.core=arduino

Original issue reported on code.google.com by scottbi...@gmail.com on 11 Nov 2011 at 7:08

GoogleCodeExporter commented 9 years ago
Whoops.  My apologies for not getting this done sooner.  

Original comment by dmel...@gmail.com on 19 Nov 2011 at 8:48

GoogleCodeExporter commented 9 years ago
BTW, is this really the right bootloader .hex file and fuse values?  Have you 
tried doing a "burn bootloader" with those settings?

https://github.com/arduino/Arduino/commit/4119b9089bff95918ce04464558d94bf89116e
db

Original comment by dmel...@gmail.com on 19 Nov 2011 at 9:25

GoogleCodeExporter commented 9 years ago
I haven't tried a "burn bootloader" sorry. I simply switched to this profile in 
the IDE and suddenly everything started working ok. Still too new to Arduino to 
need to know what fuse values are and all of that. :)

BTW I pulled the above configuration from user Rusty's comment at 
http://www.sparkfun.com/products/8164

Original comment by scottbi...@gmail.com on 21 Nov 2011 at 2:31

GoogleCodeExporter commented 9 years ago
I updated the .hex file and fuse settings.

https://github.com/arduino/Arduino/commit/3df132aea9e9f5586545db289547d619c43e5d
9f

Original comment by dmel...@gmail.com on 2 Dec 2011 at 9:47