arduino:arduino_without_a_bootloader
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:arduino_without_a_bootloader [2020/02/27 18:23] – [Hardware] mithat | arduino:arduino_without_a_bootloader [2021/04/22 00:55] – [Case 1: Uno or Nano with USBtinyISP] mithat | ||
---|---|---|---|
Line 16: | Line 16: | ||
Another reason to not use a bootloader is that the startup time is critical. The Arduino bootloader introduces about a second and a half delay between power-up/ | Another reason to not use a bootloader is that the startup time is critical. The Arduino bootloader introduces about a second and a half delay between power-up/ | ||
- | Yet another situation where you might not want a bootloader is if you have lowered or disabled the [[https:// | + | Yet another situation where you might not want a bootloader is if you have lowered or disabled the [[https:// |
There are situations apart from these where you wouldn' | There are situations apart from these where you wouldn' | ||
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' | + | ==== USBtinyISP |
- | The original USBtinyISP | + | Below, I cover a few cases to get you started. Most of these use the USBtinyISP.((As near as I can tell, the original |
- | If you are using a USBtinyISP clone, there' | + | The original USBtinyISP has a built-in 3x2 IDC cable that carries the signals needed for ISP (in-system programming) and a 5x2 IDC cable that carries the same signals but in a different layout. |
- | Depending on the board you are programming, | + | Depending on the board you are programming, |
<WRAP center round tip 80%> | <WRAP center round tip 80%> | ||
Line 39: | Line 39: | ||
</ | </ | ||
===== Procedures ===== | ===== Procedures ===== | ||
- | As is the case when uploading a program to your Arduino using a bootloader, when uploading a program using a programmer you must specify what the target board is. So when doing any of the following, make sure //Tools > Board// and //Tools > Processor// (or other board options) are set correctly for your board. | + | As is the case when uploading a program to your Arduino using a bootloader, when uploading a program using a programmer you must specify what the target board is. So when doing the following, make sure //Tools > Board// and //Tools > Processor// (or other board options) are set correctly for your board. |
Now is also a good time to mention a significant caveat about using a programmer as described here. <WRAP center round important 80%> | Now is also a good time to mention a significant caveat about using a programmer as described here. <WRAP center round important 80%> | ||
- | Using a programmer involves making connections between the programmer and the Arduino' | + | Using a programmer involves making connections between the programmer and the Arduino' |
- | + | ||
- | However, | + | |
</ | </ | ||
- | Yes, this is yet another way the bootloader makes your life simpler. | + | This can be bit of a drag and is yet another way the bootloader makes your life simpler. |
With that out of the way, let's move on to some specific cases. | With that out of the way, let's move on to some specific cases. | ||
Line 62: | Line 59: | ||
- Unplug the USBtinyISP from the computer if it's connected and power down the Uno/Nano if it's powered up. | - Unplug the USBtinyISP from the computer if it's connected and power down the Uno/Nano if it's powered up. | ||
- Connect USBtinyISP' | - Connect USBtinyISP' | ||
- | * The ICSP header is the 3x2 header on the end of the board opposite the USB jack. Connect the USBtinyISP' | + | * The ICSP header is the 3x2 header on the end of the board opposite the USB jack. Connect the USBtinyISP' |
- Plug the USBtinyISP into your computer. This will power the Uno/Nano (and everything else) from the USBtinyISP' | - Plug the USBtinyISP into your computer. This will power the Uno/Nano (and everything else) from the USBtinyISP' | ||
- Use the Arduino IDE to //Sketch > Upload Using Programmer// | - Use the Arduino IDE to //Sketch > Upload Using Programmer// |
arduino/arduino_without_a_bootloader.txt · Last modified: 2022/05/30 05:46 by mithat