User Tools

Site Tools


arduino:arduino_without_a_bootloader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
arduino:arduino_without_a_bootloader [2020/02/27 18:18]
mithat [Cursed is the bootloader]
arduino:arduino_without_a_bootloader [2020/02/27 18:23] (current)
mithat [Hardware]
Line 21: Line 21:
  
 ===== Hardware ===== ===== Hardware =====
-You're going to need a device you want to program (e.g., an Arduino board) and a device with which you will do the programming (a.k.a., the programmer). You can see the complete list of programmers supported by the Arduino framework by looking at the list available under //Tools > Programmer: "​xxxx"//​. At the time of writing this, the available options were:+To program an ATmega328P without a bootloader, you're going to need a device you want to program (e.g., an Arduino board) and a device with which you will do the programming (i.e., the programmer). You can see the complete list of programmers supported by the Arduino framework by looking at the list available under //Tools > Programmer: "​xxxx"//​. At the time of writing this, the available options were:
  
 {{ :​arduino:​arduino-programmer-options.png?​direct |}} {{ :​arduino:​arduino-programmer-options.png?​direct |}}
Line 27: Line 27:
 That's a lot of options! That's a lot of options!
  
-Below, I cover a few cases to get you started. Most of these use the USBtinyISP.((As near as I can tell, the original source of the USBtinyISP design is Dick Streefland'​s [[https://​dicks.home.xs4all.nl/​avr/​usbtiny/​|USBtiny]]. Additional development and refinement leading to the [[https://​learn.adafruit.com/​usbtinyisp|USBtinyISP]] was done by Limor Fried. The software and hardware are open source (GPL and CC BY-SA 2.5), leading to many clones and derivatives.)) Owing to its low cost and wide availability, ​this is one of the most popular options. The [[https://​learn.adafruit.com/​usbtinyisp|original USBtinyISP]] is available sporadically through Adafruit, and clones derived from the open source design ​similar to [[https://​www.ebay.com/​itm/​USBTiny-USBtinyISP-AVR-ISP-programmer-for-Arduino-bootloader-Meag2560-uno-r3/​382580265905|this one]] are widely available at auction sites, Amazon, Banggood, etc. All my testing was done using USBtinyISP clones from two different suppliers.+Below, I cover a few cases to get you started. Most of these use the USBtinyISP.((As near as I can tell, the original source of the USBtinyISP design is Dick Streefland'​s [[https://​dicks.home.xs4all.nl/​avr/​usbtiny/​|USBtiny]]. Additional development and refinement leading to the [[https://​learn.adafruit.com/​usbtinyisp|USBtinyISP]] was done by Limor Fried. The software and hardware are open source (GPL and CC BY-SA 2.5), leading to many clones and derivatives.)) Owing to its low cost and wide availability, ​the USBtinyISP ​is one of the most popular options. The [[https://​learn.adafruit.com/​usbtinyisp|original USBtinyISP]] is available sporadically through Adafruit, and clones derived from its open source design ​along the lines of [[https://​www.ebay.com/​itm/​USBTiny-USBtinyISP-AVR-ISP-programmer-for-Arduino-bootloader-Meag2560-uno-r3/​382580265905|this one]] are widely available at auction sites, Amazon, Banggood, etc. All my testing was done using USBtinyISP clones from two different suppliers.
  
 The original USBtinyISP has a built-in 3x2 IDC cable that carries the signals needed for ISP (in-system programming). It also has a 5x2 IDC cable that carries the same signals but in a different layout. The original USBtinyISP has a built-in 3x2 IDC cable that carries the signals needed for ISP (in-system programming). It also has a 5x2 IDC cable that carries the same signals but in a different layout.
  
-If you are using a USBtinyISP clone, there'​s a good chance it has a keyed 3x2 ISP header in addition to a keyed 5x2 ISP header. The following assumes this is the case and also that you have a 3x2 keyed IDC cable. Such a cable is often included with USBtinyISP clone purchases. Finally, I'm assuming it works at 5VDC, which is the defacto standard.+If you are using a USBtinyISP clone, there'​s a good chance it has a keyed 3x2 ISP header in addition to a keyed 5x2 ISP header. The following assumes this is the case and that you have a 3x2 keyed IDC cable. Such a cable is often included with USBtinyISP clone purchases. Finally, I'm assuming it works at 5VDC, which is the defacto standard.
  
 Depending on the board you are programming,​ you may need to use Dupont wires (M to F or F to F depending on your USBtinyISP) instead of the IDC cable. Depending on the board you are programming,​ you may need to use Dupont wires (M to F or F to F depending on your USBtinyISP) instead of the IDC cable.
arduino/arduino_without_a_bootloader.txt · Last modified: 2020/02/27 18:23 by mithat