Tuesday 3 January 2017

Burn Arduino bootloader on Atmega8

11.  Download Zadig usbasp drivers from http://www.fischl.de/usbasp/
22.  Open Zadig then connect usbasp. Zadig may autodetect usbasp, if not detected go to options and click List All Devices. Choose usbasp and select Winusb as driver to install. The Winusb is detected by Arduino IDE (libusb is not detected). But Winusb is not detected by extreameburner.
33.  Arduino installation needs modification to avoid an Error  ‘Effuse memory not defined’ .

Please follow following video
or
Download platform.txt from link as suggested by above video https://drive.google.com/drive/folders/0B4VbEW_iRqjmM1dHYWZDRlJpSUk

Paste (replace) the platform.txt at location “C:\Program Files (x86)\Arduino\hardware\arduino\avr\”

44.  Connect usbasp. Usbasp should have connected to arduino ICSP pins. Open Arduino IDE.  Go to  Tools, select Boards, select Arduino NG or Older. In Tools select processor as Atmega8. In Tools  select Programmer as Usbasp.
55.  In Tools select Burn Bootloader. It will burn bootloader.
66. To upload sketch remove usbasp and connect Arduino board at USB and then upload. There is warning regarding “cannot set sck period and firmware upgrade ”. But ignore it.