Can the arduino bootloader be applied to any avr?

I just got a new reflow station yesterday so I started playing with it and harvesting parts and I just noticed that in my bounty I got an atmega64. I'm kind of a noob so I was just curious if I could use my little sisters duemilanove as an isp to flash the chip? Would it work the same way as in the arduino isp tutorial? Thanks a bunch, and I guess also hello since this is my first post on the forum.

fr3drico:
I just got a new reflow station yesterday so I started playing with it and harvesting parts and I just noticed that in my bounty I got an atmega64. I'm kind of a noob so I was just curious if I could use my little sisters duemilanove as an isp to flash the chip?

ISP: Yes

Looks like it.

Would it work the same way as in the arduino isp tutorial?

Yes. You just have to connect to the correct pins (SCK, MOSI, MISO, RESET) and hope that ISP has not been disabled. If ISP has been disabled, you may be able to enable it with "high voltage programming". If it's like the ATmega328, initially it will have to have similar clocking to what it had before the harvest.

Thanks a bunch, and I guess also hello since this is my first post on the forum.

Hello, welcome, good luck, and let us know if you get it working.

Not so sure you can do that to the Lock bits though... And if those are set, then you can't do much in terms of re-programming it. But give it a try.

It is possible to use the arduino bootloader on the ATmega64, I think it is in the same series as the original Arduino (ATmega8) chip, so changing the bootloader should be fairly easy for that. :slight_smile: