Pages: [1]   Go Down
Author Topic: atmega328 8mhz bootloader  (Read 1109 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone,
Does anyone know where i might find a couple of different bootloaders for arduino.
I'm looking to try the following 4 options
atmega168 with internal 8mhz clock
atmega168 with external 8mhz clock
atmega328 with internal 8mhz clock
atmega328 with external 8mhz clock

i have a usbtiny icsp programmer to burn these with.

thanks in advance
Jeff
« Last Edit: May 22, 2010, 07:01:16 am by jeffob » Logged

ottawa, canada
Offline Offline
God Member
*****
Karma: 5
Posts: 989
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the lilypad bootloaders should work.  I don't think the loader knows or cares the clock source - just be careful with the fuse settings.
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6378
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use the standard bootloader at half the normal download rate...
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You can use the standard bootloader at half the normal download rate...
not sure if i know what you mean. so i should cut the baud rate in half?
on the 328 i believe it is set at 57600 so i'll use 28800 on the 328 and i believe on the 168 it was 19200 so i'll use 9600 on the 168.
is this correct? and am i just changing this in the boards.txt file?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24449
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Bit of shift-key pedantry coming up:
Quote
8mhz clock
An 8mHz clock ticks once every 125 seconds.   smiley-grin
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 178
Posts: 12288
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Is millihertz ever used?  Once the frequency goes "below" one hertz I've always seen it written as seconds per whatever (like you did).
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24449
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes milliHertz are used as units
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

here is where i'm at on this stuff
i have configured the fuse settings in my boards.txt file to give me internalRC Osc. 8mhz  and i have disabled brown out detect
i am using the bootloader for the pro mini 3.3v 8mhz
i am able to burn the bootloader using the arduino0018 envirnment and a usbtiny programmer but when i try to upload a sketch i get
the "programmer not responding" messages

can anybody help with this? i am looking for a bootloader and fuse settings that allow me to use an atmega328 with internal 8mhz rc osc
and no brownout detection. i have a usbtiny programmer and an AVRISPmkII programmer. i am able to do the exact same thing with an atmega168 but am unable to do this with an atmega328.
i'm using the fuse calculator from engbedded.com and i'm using arduino0018 on Mac OSX
Thanks
Jeff
Logged

Pages: [1]   Go Up
Jump to: