Hacking.Programmer History

Hide minor edits - Show changes to markup

June 03, 2010, at 12:10 AM by Equipo Traduccion -
Changed lines 25-26 from:

Necesitas espedificar que modelo de placa es la que estás usando, pero no el puerto serie (al menos en Mac).

to:

Necesitas especificar que modelo de placa que estás usando, pero no el puerto serie (al menos en Mac).

Changed lines 33-34 from:

Para cargar sketches en la Mini debes fabricar un cable adaptador del programador a la placa Mini. Gian Pablo Vilamil ha escrito y buen tutorial en cargando el gestor de arranque en la Mini. Para fabricar el cable sigue las mismas instrucciones.

to:

Para cargar sketches en la Mini debes fabricar un cable adaptador del programador a la placa Mini. Gian Pablo Vilamil ha escrito un buen tutorial en cargando el gestor de arranque en la Mini. Para fabricar el cable sigue las mismas instrucciones.

June 03, 2010, at 12:08 AM by Equipo Traduccion -
Changed lines 31-35 from:

Burning Sketches to the Arduino Mini

To burn sketches to the mini you must first make a cable to interface between your programmer and the mini board. Gian Pablo Vilamil has written a very good tutorial on Bootloading the Mini. To burn sketches, follow the instructions on bootloading the mini.

Once you have made the proper cable, instead of choosing bootloading from the arduino menu, you can use the instructions on this page to burn sketches directly to the Mini.

to:

Cargando Sketches en la Arduino Mini.

Para cargar sketches en la Mini debes fabricar un cable adaptador del programador a la placa Mini. Gian Pablo Vilamil ha escrito y buen tutorial en cargando el gestor de arranque en la Mini. Para fabricar el cable sigue las mismas instrucciones.

Una vez que has hecho el cable adecuado, en lugar de seguir los pasos para cargar un gestor de arranque de la Arduino Mini, puedes utilizar las instrucciones de esta página para grabar sketches directamente en la Arduino Mini.

June 02, 2010, at 11:56 PM by Equipo Traduccion -
Changed lines 17-30 from:

Change: upload.using from bootloader to the identifier of one of the programmers in hardware/programmers.txt (e.g. avrispmkii).

If you would rather use an external programmer for only an individual board, you can edit the boards.txt file in the hardware/ sub-directory of the Arduino application directory. Set the board.upload.using parameter to the identifier of one of the programmers in programmers.txt.

Burning the sketch

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.

You must specify which Arduino board you are using, but you do not have to specify a serial port (on Mac at least).

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 set the upload.using preference in preferences.txt back to bootloader; or remove the board.upload.using parameter from boards.txt. You'll also need to burn the bootloader back onto the chip on the Arduino board.

to:

Edita el archivo preferences.txt con tu editor preferido. Busca la línea que dice upload.using=bootloader y cambia bootloader por el identificador de uno de los programadores que aparecen en el archivo hardware/programmers.txt (por ejemplo avrispmkii).

Si sólo vas a utilizar el programador externo para una placa edita el fichero boards.txt en el subdirectorio hardware/ de la aplicación Arduino. Cambia el parámetro board.upload.using con el identificador de un do los programadores que figuren en el archivo programmers.txt.

Cargando el sketch.

Después que hayas hecho esos cambios ya puedes cargar sketches a la placa como lo harías normalmente, con el botón upload en el menú de la aplicación Arduino. La placa necesita estar alimentada eléctricamente, pero no necesitas apretar el botón de reseteo antes de la carga.

Necesitas espedificar que modelo de placa es la que estás usando, pero no el puerto serie (al menos en Mac).

Volviendo a la carga normal por USB/serial.

Para volver a cargar sketches por el puerto USB sin utilizar un programador externo hay que devolver el parametro upload.using en el archivo preferences.txt a su estado original, es decir, a bootloader. O quitando el parametro board.upload.using del archivo boards.txt. También necesitaras volver a grabar el gestor de arranque de nuevo en el chip de la placa Arduino.

June 02, 2010, at 11:20 PM by Equipo Traduccion -
Changed lines 15-16 from:

Note that when you upgrade Arduino, this folder may not be deleted. If you are having trouble, delete this folder. Upon launching Arduino a new file and preferences.txt will be created.

to:

Fíjate que aunque cambies a una versión superior de Arduino este directorio no se borra. En caso de problemas borra este directorio y lanza el Arduino IDE, al arrancar creará de nuevo el archivo preferences.txt.

June 02, 2010, at 11:16 PM by Equipo Traduccion -
Changed lines 1-9 from:

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 ATmega168, you'll get 16 KB instead of 14 (on an ATmega8 you'll get 8 KB instead of 7). It also avoids the bootloader delay when you power or reset your board.

Editing the Arduino preferences file

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

This preferences file is found in this folder:

to:

Cargando sketches en la placa Arduino con un programador externo.

Si tienes un programador externo (por ejemplo un AVR-ISP STK500 o un programador paralelo puedes cargar tus sketches en la placa Arduino sin necesidad de un gestor de arranque. Esto te permite utilizar el total de la memoria disponible en el chip de la Arduino. Así en el ATmega168 dispondrías de 16 KB en lugar de los 14 KB usuales. Además te evitarás el retraso causado por el gestor de arranque cuando conectas o reseteas la placa.

Editando el archivo de preferencias de Arduino.

Para usar un programador externo para todas las placas necesitas hacer algunos pequeños cambios en el archivo preferences.txt. Asegúrate de cerrar el Arduino IDE antes de editar este.

El archivo de preferencias se encuentra la siguiente ruta:

November 28, 2008, at 10:26 AM by David A. Mellis -
Changed lines 7-8 from:

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

to:

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

Changed lines 18-19 from:
to:

If you would rather use an external programmer for only an individual board, you can edit the boards.txt file in the hardware/ sub-directory of the Arduino application directory. Set the board.upload.using parameter to the identifier of one of the programmers in programmers.txt.

Changed lines 28-29 from:

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

to:

To go back to uploading sketches over the USB or serial port without an external programmer, you'll need to set the upload.using preference in preferences.txt back to bootloader; or remove the board.upload.using parameter from boards.txt. You'll also need to burn the bootloader back onto the chip on the Arduino board.

April 16, 2008, at 08:58 PM by Tom Igoe -
Changed lines 29-30 from:

Burning Sketches to the Mini

to:

Burning Sketches to the Arduino Mini

Changed line 33 from:

Once you have made the proper cable, instead of bootloading, you can use the instructions on this page to burn sketches directly to the mini.

to:

Once you have made the proper cable, instead of choosing bootloading from the arduino menu, you can use the instructions on this page to burn sketches directly to the Mini.

April 16, 2008, at 08:57 PM by Tom Igoe -
Changed lines 27-33 from:

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

to:

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

Burning Sketches to the Mini

To burn sketches to the mini you must first make a cable to interface between your programmer and the mini board. Gian Pablo Vilamil has written a very good tutorial on Bootloading the Mini. To burn sketches, follow the instructions on bootloading the mini.

Once you have made the proper cable, instead of bootloading, you can use the instructions on this page to burn sketches directly to the mini.

April 16, 2008, at 08:51 PM by Tom Igoe -
Added lines 23-24:

You must specify which Arduino board you are using, but you do not have to specify a serial port (on Mac at least).

April 16, 2008, at 08:48 PM by Tom Igoe -
Added lines 9-15:

This preferences file is found in this folder:

    * /Users/<USERNAME>/Library/Arduino/preferences.txt (Mac)
    * c:\Documents and Settings\<USERNAME>\Application Data\Arduino\preferences.txt (Windows)
    * ~/.arduino/preferences.txt (Linux) 

Note that when you upgrade Arduino, this folder may not be deleted. If you are having trouble, delete this folder. Upon launching Arduino a new file and preferences.txt will be created.

Added line 18:
March 29, 2008, at 05:58 AM by David A. Mellis -
Changed lines 17-21 from:

To go back to uploading sketches over the USB or serial port without an external programmer, you'll need to set the upload.using preference in preferences.txt back to bootloader. 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).

to:

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

March 29, 2008, at 04:10 AM by David A. Mellis -
Deleted lines 2-3:

In Arduino 0010, this is no longer possible. The functionality will return (in different form) in Arduino 0011.

Changed lines 9-15 from:

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

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

to:

Change: upload.using from bootloader to the identifier of one of the programmers in hardware/programmers.txt (e.g. avrispmkii).

Changed lines 17-18 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:

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

December 21, 2007, at 04:49 PM by David A. Mellis -
Added lines 3-4:

In Arduino 0010, this is no longer possible. The functionality will return (in different form) in Arduino 0011.

July 25, 2007, at 09:05 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. It also avoid the bootloader delay when you power or reset your board.

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 ATmega168, you'll get 16 KB instead of 14 (on an ATmega8 you'll get 8 KB instead of 7). It also avoids the bootloader delay when you power or reset your board.

Changed lines 7-8 from:

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.

to:

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

November 05, 2006, at 12:24 PM by David A. Mellis -
Added lines 1-26:

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. It also avoid the bootloader delay when you power or reset your board.

Editing the Arduino preferences file

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.

Burning the sketch

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.

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).

Share