User Tools

Site Tools


burn_the_bootloader

If you want to send us your comments, please do so. Thanks
More on comments


Burn the Arduino bootloader I

  • Use the Multiple Vendors USBtiny ISP with ID 1781:0c9f
  • Use an Arduino with ZIF-socket and a 6 to 10 Arduino to cable conversion PCB
  • Connect the Arduino to a swichable USB Hub for convenience when burning multiple ATmega 328p's
  • Start the Arduino IDE as root
  • Tools | Board: UNO ; Programmer: USBtinyISP
  • Tools | Burn Bootloader. Ignore this error message: ***failed; avrdude: WARNING: invalid value for unused bits in fuse “efuse”, should be set to 1 according to datasheet This behaviour is deprecated and will result in an error in future version You probably want to use 0xfd instead of 0x05 (double check with your datasheet first).
  • Should be succesfull, was for us

Burn the Arduino bootloader II

See also: Nick Gammon bootloader

Connect the Arduino to

USB port:	This might be a dedicated USB port you assigned when installing the Arduino IDE.  
		Like the one on the right side the closest to the screen

Start a clean IDE, no sketch loaded.
Do in the Tools menu in this order:

Board:		Arduino Uno
Serial port:	/dev/ttyACM0 or the appropriate COM port (trial and error to determine which comport belongs to which usb port)
Programmer:	USBasp
Burn Bootloader

The result from the Arduino IDE:

Using Port		: usb
Using Programmer	: usbasp

Burn the bootloader via ISP connector (Dutch)

Procedure BOOTLOADER UPLOADEN via USBasp en ISP connector on a Arduino UNO

A. Steek een ATMEGA 328 in de voet van het Arduino bordje

 Sluit de USBasp bandkabel aan op de ISP steker van het Arduino bordje
 Er zit een klein wit rondje op het Arduino bord dat pen 1 aangeeft en komt overeen met de rode zijde van de bandkabel. If that is not there, then in most cases the cable should point away from the board.
 Sluit de USB zijde van de USBasp hardware aan op de P.C.

B. Ga naar Hulpmiddelen en kies:

 Board: Arduino/Genuino Uno. Moet overeenkomen met wat er echt op zit
 Poort: er valt niets te kiezen: is grijs. Geen probleem. Sla deze instelling dus over
 Programmer: USBasp

C. Blijf in Hulpmiddelen en kies bootloader branden. De bootloader wordt gebrand

 Controleer naderhand of de ATMEGA werkt

D. Er komt wel een foutmedeling die geen enkele consequenties heeft:

 avrdude: warning: cannot set sck period. please check for usbasp firmware update.
 Je kan met een firmware upgrade (die heel lastig is uit te voeren) deze mededeling wel weg krijgen.
 Zie voor informatie hierover: [[http://blog.lincomatic.com/?p=1480|How to Update the Firmware on a USBasp V2.0]]\\

If you buy a cheap USBasp V2.0 ICSP programmer on eBay, chances are, avrdude will give you the following warning message: avrdude: warning: cannot set sck period …

Thanks to Klaas


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
burn_the_bootloader.txt · Last modified: 26-11-2017 16:09 by wim