Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
arduino_clones:bootloader [2012/09/23 21:16] admin |
arduino_clones:bootloader [2015/10/17 13:31] admin removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **== Burning the Bootloader ==============================** | + | ---- |
+ | **Burning the Bootloader with the Arduino IDE** | ||
+ | ---- | ||
- | For burning the bootloader you need to connect the following pins on your Paperduino-UNO with your ISP programmer (in-system programmer): | + | For burning the bootloader on the Paperduino-UNO, or on the Paper-Leonardo you need to connect the following pins on your Paperduino-UNO with your ISP programmer (in-system programmer): |
* 11 - MOSI | * 11 - MOSI | ||
* 12 - MISO | * 12 - MISO | ||
Line 8: | Line 10: | ||
* Ground | * Ground | ||
* + 5V | * + 5V | ||
+ | After connecting the programmer to your computer select in the Arduino IDE in Tools/Programmer your programmer and than klick Tools/Burn Bootloader. | ||
- | **== With an AVR ISP programmer ===========================** | + | ---- |
+ | **With an AVR ISP programmer** | ||
{{ :arduino_clones:isp_adapter.jpg?direct&300 |}} | {{ :arduino_clones:isp_adapter.jpg?direct&300 |}} | ||
- | On the foto you see the ISP programmer with an ISP adapter board. But you could also build your own modified wire like that on the [[http://arduino.cc/en/Hacking/MiniBootloader|Mini Bootloader project]]. Anyway here are the connection of an original ISP header.\\ | + | On the foto you see the ISP programmer with an ISP adapter board. But you could also build your own modified wire like that on the [[http://arduino.cc/en/Hacking/MiniBootloader|Mini Bootloader project]]. Anyway here are the connection of an original ISP header. |
{{:arduino_clones:isp-header.jpg?nolink|}} | {{:arduino_clones:isp-header.jpg?nolink|}} | ||
- | Cause my ISP programmer has a different protokoll as the originale AVR-ISP programmer I had to modifie the file: | + | Cause my ISP programmer has a different protokoll as the originale AVR-ISP programmer I had to modifie the programmers.txt file.\\ |
- | **programmers.txt**\\ | + | In that folder(on Linux): |
- | in that folder(on Linux):\\ | + | /usr/share/arduino/hardware/arduino |
- | **/usr/share/arduino/hardware/arduino**\\ | + | The third line has to change to: |
- | The third line has to change to:\\ | + | avrisp.protocol=stk500v1 |
- | **avrisp.protocol=stk500v1**\\ | + | |
- | **== With a Paperduino-UNO =================================** | ||
- | The Paperduino-UNO was designed for cloneing and that's why you can use your Paperduino-UNO to burn the bootloder, too. Just load the ArduinoISP - in the examples - on your Paperduino-UNO. After that, **turn off the auto reset by removeing the auto reset jumper**. And than connect the pins like that : | + | ---- |
+ | **With the Paper-USBasp programmer** | ||
+ | |||
+ | It is simelar to the AVR ISP programmer, just select the USBasp programmer and burn. | ||
+ | |||
+ | {{ :avr_bootloader:paper_usbasp_1274.jpg?300 |}} | ||
+ | |||
+ | Here is a manual for building your own [[avr_bootloader:paper_usbasp|Paper-USBasp programmmer]]. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | **With a Paperduino-UNO** | ||
+ | |||
+ | The Paperduino-UNO was designed for cloneing and that's why you can use your Paperduino-UNO fot burning bootloder, too. Just load the ArduinoISP - in the examples - on your Paperduino-UNO. After that, **turn off the auto reset by removeing the auto reset jumper**. And than connect the pins like that: | ||
* 13 to 13 | * 13 to 13 | ||
* 12 to 12 | * 12 to 12 | ||
Line 36: | Line 52: | ||
{{ :arduino_clones:paperduino-uno_as_isp_adapter_wspahn.jpg?direct&300 |}} | {{ :arduino_clones:paperduino-uno_as_isp_adapter_wspahn.jpg?direct&300 |}} | ||
- | **===========================================================** | + | ---- |
+ | ** Burning the Bootloader with the AVRdude** | ||
+ | |||
+ | Burning the bootloader on an Atmega328p chip of | ||
+ | a Paperduino-Uno or a Paper-Duino-Pi with an AVR ISP programmer. | ||
+ | |||
+ | Go to the folder with the bootloader. | ||
+ | |||
+ | Run avrdude in command line: | ||
+ | $ sudo avrdude -p m328p -c stk500v2 -P /dev/ttyACM0 -U flash:w:optiboot_atmega328.hex:i | ||
+ | |||
+ | More at the [[arduino_clones:AVRdude|AVRdude]] page. | ||
+ | |||
+ | ---- |