Main.Programmer History

Show minor edits - Show changes to markup

November 16, 2006, at 11:55 PM by David A. Mellis -
Added lines 1-2:
September 15, 2006, at 06:03 PM by David A. Mellis -
Changed lines 3-4 from:

If you have an external programmer (e.g. an AVR-ISP, STK500, or parallel programmer), you can burn sketches to the Arduino board without using the bootloader. This allows you to use the full program space (flash) of the chip on the Arduino board. So with an ATmega8, you'll get 8 KB instead of 7.

to:

If you have an external programmer (e.g. an AVR-ISP, STK500, or parallel programmer), you can burn sketches to the Arduino board without using the bootloader. This allows you to use the full program space (flash) of the chip on the Arduino board. So with an ATmega8, you'll get 8 KB instead of 7. It also avoid the bootloader delay when you power or reset your board.

September 15, 2006, at 05:57 PM by David A. Mellis -
Changed lines 1-2 from:

Burning sketches to the Arduino board with an external programmer

to:

Burning sketches to the Arduino board with an external programmer

September 15, 2006, at 05:57 PM by David A. Mellis -
Changed lines 20-21 from:

Going back to normal USB/serial upload

to:

Going back to normal USB/serial upload

September 15, 2006, at 05:57 PM by David A. Mellis -
Added lines 5-6:

Editing the Arduino preferences file

Added lines 16-17:

Burning the sketch

Changed lines 20-26 from:

To go back to uploading sketches over the USB or serial port without an external programmer, you'll need to change back those lines in preferences.txt. You'll also need to burn the bootloader back onto the chip on the Arduino board.

to:

Going back to normal USB/serial upload

To go back to uploading sketches over the USB or serial port without an external programmer, you'll need to change back those lines in preferences.txt. You'll also need to burn the bootloader back onto the chip on the Arduino board.

AVRISP mkII

If you have an AVRISP mkII, you'll need to burn your sketches outside the Arduino environment. You can use a program like avrdude, avrstudio, or winavr. To generate the .hex file that you'll be burning, press the upload button in the Arduino environment. The .hex file will be saved in the applet sub-directory of the sketch's directory (which you can find by selecting Show Sketch Folder from the Sketch menu of the Arduino environment).

September 15, 2006, at 05:52 PM by David A. Mellis -
Changed lines 7-11 from:

First, change:

serial.download_rate=19200

to:

serial.download_rate=115200.
to:

First, change:
serial.download_rate=19200
to:
serial.download_rate=115200

September 15, 2006, at 05:51 PM by David A. Mellis -
Added lines 1-16:

Burning sketches to the Arduino board with an external programmer

If you have an external programmer (e.g. an AVR-ISP, STK500, or parallel programmer), you can burn sketches to the Arduino board without using the bootloader. This allows you to use the full program space (flash) of the chip on the Arduino board. So with an ATmega8, you'll get 8 KB instead of 7.

To use an external programmer you need to make three changes to the Arduino preferences.txt. Make sure to edit this file when the Arduino IDE is not running.

First, change:

serial.download_rate=19200

to:

serial.download_rate=115200.

Second, change upload.erase and upload.verify from false to true.

After you've made these changes, you can burn sketches to the board with the normal upload button or menu item in the Arduino environment. The board needs to be powered, but you don't have to press the reset button before uploading.

To go back to uploading sketches over the USB or serial port without an external programmer, you'll need to change back those lines in preferences.txt. You'll also need to burn the bootloader back onto the chip on the Arduino board.

Share