Pages: [1]   Go Down
Author Topic: How to burn bootloader hex using AVR MKII on Mac  (Read 915 times)
0 Members and 1 Guest are viewing this topic.
Ontario, Canada
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Love OpenSource...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How would I go about burning the bootloader into the AVR chip using an AVR ISP MKII? I would like to program the hex file without using the Arduino IDE.
Logged


0
Offline Offline
Faraday Member
**
Karma: 24
Posts: 3496
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I did not try this but this is how I would proceed:

Install Arduino 1.0. Set preferences to verbose and use the IDE to "flash" the bootloader. No need to connect an Arduino. The point is that this should show the command in the log. Once you have the command parameters for avrdude you can use this from the commandline without hte IDE.

I can not verify this right now because the computer I am at right now does not have Arduino installed.
Logged

Check out my experiments http://blog.blinkenlight.net

Ontario, Canada
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Love OpenSource...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

But would that also work to burn the software into the ATmega8U2 doing the USB to serial conversion?
Logged


0
Offline Offline
Faraday Member
**
Karma: 24
Posts: 3496
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No, if this is your goal you need to learn a little bit more about avrdude. Still it is a good step for learning to first learn how to flash the atmega 328. Once you understand this you just change the file names (for the hex and the fuse files) and the chipname parameter.
Logged

Check out my experiments http://blog.blinkenlight.net

Pages: [1]   Go Up
Jump to: