Arduino Forum

Development => Other Software Development => Topic started by: kf2qd on Feb 29, 2012, 11:04 pm

Title: Arduino Bootloader Source - Where is it hiding?
Post by: kf2qd on Feb 29, 2012, 11:04 pm
There is a good chance its me, (and it was...)But where can I find the source for the bootloader? I am looking at modifying a bootloader for a different clock rate and I think I have found the byte that needs changing, but I would like to look at some source code to make sure.

It would also let me put useful labels to the code I have disassembled in AVRStudio4.

Thanks -

Okay - I found it on github.

Now - How about the loader source for the Arduino-Tiny collection of bootloaders?

Thanks
Title: Re: Arduino Bootloader Source - Where is it hiding?
Post by: westfw on Mar 01, 2012, 07:27 am
in your arduino install directory, there is ...hardware/arduino/bootloaders
Some bootloaders have newer versions on github/etc, but the arduino install should be a good starting point.
Title: Re: Arduino Bootloader Source - Where is it hiding?
Post by: Coding Badly on Mar 01, 2012, 10:22 am
Quote
Now - How about the loader source for the Arduino-Tiny collection of bootloaders?


The what?
Title: Re: Arduino Bootloader Source - Where is it hiding?
Post by: kf2qd on Mar 01, 2012, 06:45 pm
Arduino Tiny is an add-on for Arduino that has the description files for some of the Tiny series chips. I found it looking for a way to program the ATtiny2313.
Title: Re: Arduino Bootloader Source - Where is it hiding?
Post by: westfw on Mar 01, 2012, 07:24 pm
I believe that "Tiny" doesn't actually use a bootloader.  In the 1.0, you program your chips with Shift-upload, which uses an external programmer to do the actual programming.  The files in the bootloader directory are called "empty", and are placeholders to allow fuse burning or something, but I don't think they're actual bootloaders (now, if only they LOOKED like empty files!)